-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
58 lines (55 loc) · 1.89 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
58
import pathlib
from setuptools import find_packages, setup
PACKAGE = "sherlock"
HERE = pathlib.Path(__file__).parent
README = (HERE / "README.md").read_text()
with open(HERE / PACKAGE / "version.py") as f:
__version__ = f.read().split("=")[1].strip().strip('"')
CLASSIFIERS = """
Development Status :: 2 - Pre-Alpha
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Framework :: Robot Framework
Framework :: Robot Framework :: Tool
Topic :: Software Development :: Testing
Topic :: Software Development :: Quality Assurance
Topic :: Utilities
Intended Audience :: Developers
""".strip().splitlines()
KEYWORDS = "robotframework automation testautomation testing qa"
DESCRIPTION = "Robot Framework code analysis tool"
setup(
name=f"robotframework-{PACKAGE}",
version=__version__,
description=DESCRIPTION,
long_description=README,
long_description_content_type="text/markdown",
url=f"https://github.com/bhirsz/robotframework-{PACKAGE}",
download_url=f"https://pypi.org/project/robotframework-{PACKAGE}",
author="Bartlomiej Hirsz, Mateusz Nojek",
author_email="bartek.hirsz@gmail.com, matnojek@gmail.com",
license="Apache License 2.0",
platforms="any",
classifiers=CLASSIFIERS,
keywords=KEYWORDS,
packages=find_packages(),
package_data={"": ["*.template"]},
python_requires=">=3.8",
install_requires=[
"robotframework>=4.1",
"toml>=0.10.2",
"pathspec==0.9.*",
"jinja2",
"tabulate==0.8.9",
"rich>=10.12.0",
],
extras_require={
"dev": ["coverage", "pytest", "robotframework-templateddata"],
# "doc": ["sphinx", "sphinx_rtd_theme"],
},
entry_points={"console_scripts": [f"{PACKAGE}={PACKAGE}:run_cli"]},
)