forked from FormulatedAutomation/robotframework-otp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (39 loc) · 1.29 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
#!/usr/bin/env python
import re
import sys
import os
from os.path import abspath, dirname, join
from setuptools import setup
CURDIR = dirname(abspath(__file__))
REQUIREMENTS = ['robotframework >= 3.0']
with open(join(CURDIR, 'src', 'OTP', 'version.py')) as f:
VERSION = re.search("^VERSION = '(.*)'", f.read()).group(1)
with open(join(CURDIR, 'README.rst')) as f:
DESCRIPTION = f.read()
CLASSIFIERS = '''
Development Status :: 5 - Production/Stable
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3.8
Topic :: Software Development :: Testing
Framework :: Robot Framework
Framework :: Robot Framework :: Library
'''.strip().splitlines()
setup(
name='robotframework-otp',
version=VERSION,
description='Robot Framework OTP authenticator',
long_description=DESCRIPTION,
author='Formulated Automation',
author_email='[email protected]',
url='https://github.com/formulatedautomation/robotframework-otp',
license='Apache License 2.0',
keywords='robotframework testing testautomation otp totp',
platforms='any',
classifiers=CLASSIFIERS,
install_requires=REQUIREMENTS,
package_dir={'': 'src'},
packages=['OTP']
)