-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup.py
52 lines (44 loc) · 1.52 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
#!/usr/bin/env python
import sys
from os.path import abspath, dirname, join
from setuptools import setup
VERSION = None
version_file = join(dirname(abspath(__file__)), 'ArchiveLibrary', 'version.py')
with open(version_file) as file:
code = compile(file.read(), version_file, 'exec')
exec(code)
DESCRIPTION = """
Robot Framework keyword library for handling ZIP files.
"""[1:-1]
PY3 = sys.version_info > (3,)
CLASSIFIERS = """
Development Status :: 5 - Production/Stable
License :: Public Domain
Operating System :: OS Independent
Programming Language :: Python
Topic :: Software Development :: Testing
"""[1:-1]
TEST_REQUIRE = ['pytest', 'six', 'coverage', 'flake8'] if PY3 \
else ['pytest', 'coverage', 'flake8', 'mock']
setup(name='robotframework-archivelibrary',
version=VERSION,
description='Robot Framework keyword library for handling ZIP files',
long_description=DESCRIPTION,
author='Bulkan Savun Evcimen',
author_email='[email protected]',
maintainer='Luca Giovenzana',
maintainer_email='[email protected]',
url='http://github.com/MarketSquare/robotframework-archivelibrary',
license='Public Domain',
keywords='robotframework testing test automation zip files compressed',
platforms='any',
install_requires=[
'robotframework',
],
extras_require={
'test': TEST_REQUIRE
},
classifiers=CLASSIFIERS.splitlines(),
packages=['ArchiveLibrary'],
package_data={'ArchiveLibrary': ['tests/*.txt']}
)