forked from svanoort/pyresttest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·54 lines (51 loc) · 2.21 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
52
53
54
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Future is needed for pip distribution for python 3 support
dependencies = ['pyyaml', 'pycurl']
test_dependencies = ['django==1.6.5','django-tastypie==0.12.1','jsonpath','jmespath']
# Add additional compatibility shims
if sys.version_info[0] > 2:
dependencies.append('future') # Only works with direct local installs, not via pip
else:
test_dependencies.append('mock')
test_dependencies.append('discover')
setup(name='pyresttest',
version='1.7.2.dev',
description='Python RESTful API Testing & Microbenchmarking Tool',
long_description='Python RESTful API Testing & Microbenchmarking Tool \n Documentation at https://github.com/svanoort/pyresttest',
author='Sam Van Oort',
author_email='[email protected]',
url='https://github.com/svanoort/pyresttest',
keywords=['rest', 'web', 'http', 'testing'],
classifiers=[
'Environment :: Console',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Utilities'
],
py_modules=['pyresttest.resttest', 'pyresttest.generators', 'pyresttest.binding',
'pyresttest.parsing', 'pyresttest.validators', 'pyresttest.contenthandling',
'pyresttest.benchmarks', 'pyresttest.tests',
'pyresttest.six',
'pyresttest.ext.validator_jsonschema',
'pyresttest.ext.extractor_jmespath'],
license='Apache License, Version 2.0',
install_requires=dependencies,
tests_require=test_dependencies,
extras_require= {
'JSONSchema': ['jsonschema'],
'JMESPath': ['jmespath']
},
# Make this executable from command line when installed
scripts=['util/pyresttest', 'util/resttest.py'],
provides=['pyresttest']
)