forked from circus-tent/circus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (44 loc) · 1.72 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
import sys
from setuptools import setup, find_packages
from circus import __version__
if not hasattr(sys, 'version_info') or sys.version_info < (2, 6, 0, 'final'):
raise SystemExit("Circus requires Python 2.6 or higher.")
install_requires = ['psutil', 'pyzmq>=13.1.0,<17.0', 'tornado>=3.0,<5.0', 'six']
try:
import argparse # NOQA
except ImportError:
install_requires.append('argparse')
with open("README.rst") as f:
README = f.read()
setup(name='circus',
version=__version__,
packages=find_packages(exclude=["docs", "examples"]),
description=("Circus is a program that will let you run and watch "
" multiple processes and sockets."),
long_description=README,
author="Mozilla Foundation & contributors",
author_email="services-dev@lists.mozila.org",
include_package_data=True,
zip_safe=False,
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: Apache Software License"
],
install_requires=install_requires,
test_suite='circus.tests',
entry_points="""
[console_scripts]
circusd = circus.circusd:main
circusd-stats = circus.stats:main
circusctl = circus.circusctl:main
circus-top = circus.stats.client:main
circus-plugin = circus.plugins:main
""")