forked from nickstenning/honcho
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (41 loc) · 1.2 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
45
46
47
48
49
import os
import sys
from setuptools import setup, find_packages
from honcho import __version__
requirements = []
export_requirements = []
if sys.version_info[:2] < (2, 7):
requirements.append('argparse')
requirements.append('ordereddict')
if (3, 0) <= sys.version_info[:2] < (3, 3):
export_requirements = ['jinja2>=2.6,<2.7']
else:
export_requirements = ['jinja2>=2.7,<2.8']
HERE = os.path.dirname(__file__)
try:
long_description = open(os.path.join(HERE, 'README.rst')).read()
except:
long_description = None
setup(
name='honcho',
version=__version__,
packages=find_packages(exclude=['test*']),
include_package_data=True,
# metadata for upload to PyPI
author='Nick Stenning',
author_email='[email protected]',
url='https://github.com/nickstenning/honcho',
description='Honcho: a python clone of Foreman. For managing Procfile-based applications.',
long_description=long_description,
license='MIT',
keywords='sysadmin process procfile',
install_requires=requirements,
extras_require={
'export': export_requirements,
},
entry_points={
'console_scripts': [
'honcho=honcho.command:main'
]
}
)