forked from circus-tent/circus-web
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
45 lines (37 loc) · 1.36 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
import sys
from setuptools import setup, find_packages
from circusweb 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 = ['Mako', 'MarkupSafe', 'anyjson', 'six',
'pyzmq', 'circus', 'tornado', 'sockjs-tornado', 'tomako']
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-web',
version=__version__,
packages=find_packages(),
description="Circus Web Dashboard",
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.6",
"Programming Language :: Python :: 2.7",
"License :: OSI Approved :: Apache Software License",
"Development Status :: 3 - Alpha"],
install_requires=install_requires,
tests_require=['webtest', 'unittest2'],
test_suite='circusweb.tests',
entry_points="""
[console_scripts]
circushttpd = circusweb.circushttpd:main
""")