forked from MarketSquare/roboswag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (58 loc) · 1.93 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
59
60
61
import pathlib
from setuptools import setup
PACKAGE = "roboswag"
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 :: 3 - 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
Programming Language :: Python :: 3.10
Framework :: Robot Framework
Framework :: Robot Framework :: Tool
Topic :: Software Development :: Testing
Topic :: Software Development :: Quality Assurance
Topic :: Utilities
Intended Audience :: Developers
""".strip().splitlines()
KEYWORDS = "automation api testautomation testing qa openapi robotframework"
DESCRIPTION = "Test framework for auto-generating libraries from OpenAPI specification file"
setup(
name=f"{PACKAGE}",
version=__version__,
description=DESCRIPTION,
long_description=README,
long_description_content_type="text/markdown",
url=f"https://github.com/MarketSquare/{PACKAGE}",
download_url=f"https://pypi.org/project/{PACKAGE}",
author="Mateusz Nojek, Bartlomiej Hirsz",
author_email="[email protected], [email protected]",
license="Apache License 2.0",
platforms="any",
classifiers=CLASSIFIERS,
keywords=KEYWORDS,
packages=[PACKAGE],
include_package_data=True,
install_requires=[
"black>=22.3",
"robotframework>=4.1",
"requests>=2.26",
"urllib3>=1.26",
"pyyaml>=6.0",
"jinja2>=3.0",
"prance>=0.21.8",
"toml>=0.10.2",
"openapi-spec-validator>=0.3",
"jsonschema>=4.2.1",
],
extras_requires={
"dev": ["pytest", "black", "isort"],
},
entry_points={"console_scripts": [f"{PACKAGE}={PACKAGE}:run_roboswag"]},
)