-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
56 lines (49 loc) · 1.73 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
import re
from os.path import join, dirname
from setuptools import setup, find_packages
# reading package version (without loading it)
with open(join(dirname(__file__), 'bddrest', '__init__.py')) as v_file:
package_version = re.compile(r".*__version__ = '(.*?)'", re.S)\
.match(v_file.read()).group(1)
dependencies = [
'pyyaml',
'argcomplete',
'pytest >= 4.0.2',
'easycli',
]
setup(
name='bddrest',
version=package_version,
description='A toolchain for testing REST APIs in BDD manner.',
long_description=open('README.md').read(),
long_description_content_type='text/markdown', # This is important!
author='Vahid Mardani',
author_email='[email protected]',
install_requires=dependencies,
packages=find_packages(exclude=['tests']),
entry_points={
'console_scripts': [
'bddrest = bddrest.cli:main'
]
},
test_suite='bddrest.tests',
license='MIT',
url='https://github.com/pylover/bddrest',
classifiers=[
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Natural Language :: English',
'Development Status :: 1 - Planning',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'Topic :: Software Development',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)