forked from circus-tent/circus-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (39 loc) · 1.43 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
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.")
with open('pip-requirements.txt') as reqs:
install_requires = [
line for line in reqs.read().split('\n') if (line and not
line.startswith('--'))]
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="[email protected]",
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
""")