/
setup.py
executable file
·39 lines (37 loc) · 1.15 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
import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
setup (
name='ztq_worker',
version='1.3.2',
author = "xutaozhe",
author_email = "xutaozhe@zopen.cn",
description=u"Zopen Task Queue Worker",
long_description=README + '\n\n' + CHANGES,
license = "MIT",
keywords='Everydo queue async ztq_worker',
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
],
packages = ['ztq_worker'],
#package_dir={'ztq_worker': 'ztq_worker'},
#package_data={'ztq_worker': ['system_info/*.vbs'] },
data_files=[('config', ['worker.ini']),],
include_package_data = True,
install_requires = [
"ztq_core",
"psutil",
],
entry_points = """\
[console_scripts]
ztq_worker = ztq_worker.main:run
""",
zip_safe = False,
)