-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathsetup.py
47 lines (43 loc) · 1.71 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
#!/usr/bin/env python
import re
from os.path import abspath, join, dirname
from setuptools import find_packages, setup
CURDIR = dirname(abspath(__file__))
CLASSIFIERS = """
Development Status :: 5 - Production/Stable
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: Software Development :: Testing
Framework :: Robot Framework
""".strip().splitlines()
with open(join(CURDIR, 'src', 'robotlibcore.py')) as f:
VERSION = re.search('\n__version__ = "(.*)"', f.read()).group(1)
with open(join(CURDIR, 'README.rst')) as f:
LONG_DESCRIPTION = f.read()
DESCRIPTION = ('Tools to ease creating larger test libraries for '
'Robot Framework using Python.')
setup(
name = 'robotframework-pythonlibcore',
version = VERSION,
author = 'Tatu Aalto',
author_email = 'aalto.tatu@gmail.com',
url = 'https://github.com/robotframework/PythonLibCore',
license = 'Apache License 2.0',
description = DESCRIPTION,
long_description = LONG_DESCRIPTION,
keywords = 'robotframework testing testautomation library development',
platforms = 'any',
classifiers = CLASSIFIERS,
python_requires = '>=3.7, <4',
package_dir = {'': 'src'},
packages = find_packages('src'),
py_modules = ['robotlibcore'],
)