-
Notifications
You must be signed in to change notification settings - Fork 281
/
setup.py
57 lines (50 loc) · 1.76 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
#!/usr/bin/env python
import io
from os.path import abspath, dirname, join
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
CLASSIFIERS = """
Development Status :: 5 - Production/Stable
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Software Development :: Testing
"""[1:-1]
TEST_REQUIRE = ['robotframework>=3.2.1', 'pytest', 'flask', 'six', 'coverage', 'flake8']
VERSION = None
version_file = join(dirname(abspath(__file__)), 'src', 'RequestsLibrary', 'version.py')
with open(version_file) as file:
code = compile(file.read(), version_file, 'exec')
exec(code)
with io.open('README.md', mode='rt', encoding='utf-8') as file:
readme = file.read()
setup(name='robotframework-requests',
version=VERSION,
description='Robot Framework keyword library wrapper around requests',
long_description=readme,
long_description_content_type='text/markdown',
author='Bulkan Savun Evcimen',
author_email='[email protected]',
maintainer='Luca Giovenzana',
maintainer_email='[email protected]',
url='https://github.com/MarketSquare/robotframework-requests',
license='MIT',
keywords='robotframework testing test automation http client requests rest api',
platforms='any',
classifiers=CLASSIFIERS.splitlines(),
package_dir={'': 'src'},
packages=['RequestsLibrary'],
install_requires=[
'robotframework',
'requests'
],
extras_require={
'test': TEST_REQUIRE
})