forked from circus-tent/circus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (42 loc) · 1.56 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 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 later.")
install_requires = ['pyzmq', 'psutil', 'iowait']
try:
import argparse # NOQA
except ImportError:
install_requires.append('argparse')
with open("README.rst") as f:
README = f.read()
with open("CHANGES.rst") as f:
CHANGES = f.read()
setup(name='circus',
version=__version__,
packages=find_packages(),
description=("Circus is a program that will let you run and watch "
" multiple processes and sockets."),
long_description=README + '\n' + CHANGES,
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.6",
"Programming Language :: Python :: 2.7",
"License :: OSI Approved :: Apache Software License",
"Development Status :: 3 - Alpha"],
install_requires=install_requires,
tests_require=['nose', 'webtest', 'unittest2'],
test_suite='nose.collector',
entry_points="""
[console_scripts]
circusd = circus.circusd:main
circusd-stats = circus.stats:main
circusctl = circus.circusctl:main
circushttpd = circus.web.circushttpd:main
circus-top = circus.stats.client:main
circus-plugin = circus.plugins:main
""")