forked from git-multimail/git-multimail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (39 loc) · 1.39 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#! /usr/bin/env python
import sys
import os
from setuptools import setup
assert 0x02040000 <= sys.hexversion, \
"Install Python, version 2.4 or greater"
def read_version():
sys.path.insert(0, os.path.join('git-multimail'))
import git_multimail
return git_multimail.__version__
def read_readme():
return open(os.path.join('git-multimail', 'README')).read()
setup(
name='git-multimail',
version=read_version(),
description='Send notification emails for Git pushes',
long_description=read_readme(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: No Input/Output (Daemon)',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Communications :: Email',
'Topic :: Software Development :: Version Control',
],
keywords='git hook email',
url='https://github.com/git-multimail/git-multimail',
author='Michael Haggerty',
author_email='[email protected]',
maintainer='Matthieu Moy',
maintainer_email='[email protected]',
license='GPLv2',
package_dir={'': 'git-multimail'},
py_modules=['git_multimail'],
)