forked from MarketSquare/robotframework-requests
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (47 loc) · 1.6 KB
/
setup.py
File metadata and controls
56 lines (47 loc) · 1.6 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
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/env python
import sys
from os.path import abspath, dirname, join
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
PY3 = sys.version_info > (3,)
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)
DESCRIPTION = """
Robot Framework keyword library wrapper around the HTTP client library requests.
"""[1:-1]
CLASSIFIERS = """
Development Status :: 5 - Production/Stable
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Topic :: Software Development :: Testing
"""[1:-1]
TEST_REQUIRE = ['pytest', 'flask', 'coverage', 'flake8'] if PY3 \
else ['pytest', 'flask', 'coverage', 'flake8', 'mock']
setup(name='robotframework-requests',
version=VERSION,
description='Robot Framework keyword library wrapper around requests',
long_description=DESCRIPTION,
author='Bulkan Savun Evcimen',
author_email='bulkan@gmail.com',
maintainer='Luca Giovenzana',
maintainer_email='luca@giovenzana.org',
url='http://github.com/bulkan/robotframework-requests',
license='MIT',
keywords='robotframework testing test automation http client requests',
platforms='any',
classifiers=CLASSIFIERS.splitlines(),
package_dir={'': 'src'},
packages=['RequestsLibrary'],
install_requires=[
'robotframework',
'requests'
],
extras_require={
'test': TEST_REQUIRE
})