-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (41 loc) · 1.29 KB
/
setup.py
File metadata and controls
46 lines (41 loc) · 1.29 KB
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
#!/usr/bin/env python
from setuptools import setup
import re
import sys
# load our version from our init file
init_data = open('httpbenchmark/__init__.py').read()
matches = re.search(r"__version__ = '([^']+)'", init_data, re.M)
if matches:
version = matches.group(1)
else:
raise RuntimeError("Unable to load version")
requirements = [
'numpy>=1.6,<2.0',
'tornado>=3.2,<3.3',
'pycurl>=7.19,<7.20'
]
if sys.version_info < (2, 7):
requirements.append('argparse')
setup(
name='httpbenchmark',
packages=['httpbenchmark'],
scripts=['scripts/pb'],
include_package_data=True,
version=version,
license="Apache License, Version 2.0",
description='Python HTTP Benchmarking Tool',
long_description=open('README.rst').read(),
author='Evan Borgstrom',
author_email='evan@borgstrom.ca',
url='https://github.com/borgstrom/httpbenchmark',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
install_requires=requirements
)