-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
44 lines (38 loc) · 1.19 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
"""
setup packaging script for synkamatic
"""
import os
version = "0.0"
dependencies = ['MozillaPulse >= 0.61', 'PyGithub']
# allow use of setuptools/distribute or distutils
kw = {}
try:
from setuptools import setup
kw['entry_points'] = """
[console_scripts]
synkamatic = synkamatic.main:main
synk-mozbase = synkamatic.mozbase:main
"""
kw['install_requires'] = dependencies
except ImportError:
from distutils.core import setup
kw['requires'] = dependencies
try:
here = os.path.dirname(os.path.abspath(__file__))
description = file(os.path.join(here, 'README')).read()
except IOError:
description = ''
setup(name='synkamatic',
version=version,
description="Synkamatic helps to automate the syncing of changes between mirrored Mozilla hg and github repos",
long_description=description,
classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
author='Jonathan Griffin',
author_email='[email protected]',
url='https://github.com/jonallengriffin/synkamatic',
license='MPL',
packages=['synkamatic'],
include_package_data=True,
zip_safe=False,
**kw
)