-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
73 lines (65 loc) · 2.15 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
62
63
64
65
66
67
68
69
70
71
72
73
from pathlib import Path
from setuptools import setup, find_packages
from scripts.helpers.get_cli_name import get_cli_name
from scripts.helpers.const import package_name
from scripts.helpers.get_release_version import dump_release_version
this_directory = Path(__file__).parent
long_description = this_directory.joinpath("README.rst").read_text()
if __name__ == '__main__':
setup(
name=package_name,
version=dump_release_version(),
python_requires='>=3.9',
description="A Framework for orchestrating, asserting and reporting on API calls with templates",
long_description=long_description,
long_description_content_type='text/x-rst',
author="Ken",
author_email="[email protected]",
packages=find_packages("src"),
package_dir={"": "src"},
include_package_data=True,
package_data={
# Recursively include data files
'': ['**/*.yaml', '**/*.j2', '**/*.rst', '**/*.py'],
},
# include all core templates and value files
install_requires=[
"requests==2.29.0",
"jsonpath_ng==1.5.3",
"typer[all]==0.9.0",
"jinja2==3.1.2",
"pyyaml==6.0",
"pydantic==2.4.2",
"pydantic-settings==2.0.3",
"networkx==3.1",
"python-dotenv==1.0.0",
"matplotlib==3.7.2",
"lxml==4.9.3",
"cmd2==2.4.3",
"jsonschema==4.19.0",
# Demo Servers
"connexion==2.14.2",
"connexion[swagger-ui]",
'dicttoxml==1.7.16',
],
extras_require={
"test": [
"pytest==7.3.1",
"pytest-env==1.0.1",
'pydeps==1.12.8',
],
"dist": [
'twine==4.0.2',
],
# For jupyter notebook tutorials
"tutorials": [
"jupyterlab",
"jupyter-server-proxy==4.0.0",
],
},
entry_points={
'console_scripts': [
f'{get_cli_name()}=api_compose.cli.main:app',
],
},
)