-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
69 lines (63 loc) · 1.79 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
from setuptools import setup, find_packages
import os
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, 'README.rst'), 'rb') as f:
README = f.read().decode('utf-8')
with open(os.path.join(here, 'CHANGES.rst'), 'rb') as f:
CHANGES = f.read().decode('utf-8')
with open(os.path.join(here, 'AUTHORS.rst'), 'rb') as f:
AUTHORS = f.read().decode('utf-8')
except IOError:
README = CHANGES = AUTHORS = ''
install_requires = [
'jsonschema',
'jmespath',
]
testing_requires = [
'pytest',
'pytest-cov',
'pytest-html',
'requests',
'requests-mock'
]
docs_require = [
'sphinx',
'sphinx_rtd_theme',
]
dev_requires = testing_requires + docs_require + [
'isort',
'flake8',
'ipython',
'bumpversion',
]
setup(
name='expectly',
version='0.1.8',
description='An HTTP API centric BDD style test framework',
long_description="\n".join([README, CHANGES, AUTHORS]),
author='Hunter Senft-Grupp',
author_email='huntcsg@gmail.com',
url='https://github.com/huntcsg/expectly',
packages=find_packages('src'),
package_dir={
'': 'src',
},
install_requires=install_requires,
extras_require={
'testing': testing_requires,
'dev': dev_requires,
'docs': docs_require,
},
keywords="testing bdd rest api expect rspec chakram chai",
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development :: Libraries'
],
)