-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathsetup.py
57 lines (53 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
45
46
47
48
49
50
51
52
53
54
55
56
57
# -*- coding: utf-8 -*-
# 15/6/10
# create by: snower
import os
import sys
from setuptools import find_packages, setup
version = "0.1.4"
if os.path.exists("README.rst"):
if sys.version_info[0] >= 3:
with open("README.rst", encoding="utf-8") as fp:
long_description = fp.read()
else:
with open("README.rst") as fp:
long_description = fp.read()
else:
long_description = ''
setup(
name='forsun',
version=version,
url='https://github.com/snower/forsun',
author='snower',
author_email='sujian199@gmail.com',
license='MIT',
packages=find_packages(),
zip_safe=False,
install_requires=[
'tornado>=5.0, <=5.1',
'thrift==0.11.0',
'torthrift>=0.2.4',
'tornadis>=0.8.0, <=0.8.1',
'greenlet>=0.4.2',
'msgpack>=0.5.1, <=0.6.2',
'pytz>=2017.3',
'tzlocal>=1.5.1',
'configparser>=3.5.0',
'psutil>=5.4.7',
],
extras_require = {
'mysql': ['tormysql>=0.3.7'],
'beanstalk': ['beanstalkt>=0.7.0'],
},
package_data={
'': ['README.md'],
},
entry_points={
'console_scripts': [
'forsun = forsun.scripts.forsun:main',
'forsund = forsun.scripts.forsund:main',
],
},
description= 'High-performance high-precision timing scheduling service',
long_description= long_description,
)