-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
63 lines (56 loc) · 1.65 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found")
read_md = lambda f: open(f, 'r').read()
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
try:
readme = read_md('README.md')
except:
readme = ""
try:
changelog = read_md('CHANGELOG.md')
except:
changelog = ""
setup(
name='rockettm',
version='2.2.14',
description='Rocket task manager',
long_description=readme + '\n\n' + changelog,
author='Alberto Galera Jimenez',
author_email='[email protected]',
url='https://github.com/agalera/rockettm',
py_modules=['rockettm', 'rockettm_server', 'redisqueue'],
include_package_data=True,
install_requires=['redis', 'timekiller', 'basicevents', 'ujson'],
license="GPL",
zip_safe=False,
keywords='rockettm',
classifiers=[
'Development Status :: 4 - Beta',
'Topic :: Software Development :: Libraries :: Python Modules',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5'
],
entry_points={
'console_scripts': [
'rockettm_server = rockettm_server:main'
]
},
)