-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (48 loc) · 1.62 KB
/
Copy pathsetup.py
File metadata and controls
56 lines (48 loc) · 1.62 KB
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
#!/usr/bin/env python
"""The setup script."""
from setuptools import setup, find_packages
with open("README.md") as readme_file:
readme = readme_file.read()
with open("CHANGELOG.md") as history_file:
history = history_file.read()
# Define the base requirements
base_requirements = []
# Define the optional dependencies
http_requirements = ["requests_mock>=1.9.3"]
httpx_requirements = ["pytest-httpx>=0.21.0"]
test_requirements = [
"pytest>=3",
]
setup(
author="Dacian Popute",
author_email="dacian@ottu.com",
python_requires=">=3.8",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
description="A Python library for generating mock API responses for testing.",
long_description_content_type="text/markdown",
install_requires=base_requirements,
extras_require={
"http": http_requirements,
"httpx": httpx_requirements,
"all": http_requirements + httpx_requirements,
},
license="MIT license",
long_description=readme + "\n\n" + history,
include_package_data=True,
keywords="multi_api_mocker",
name="multi_api_mocker",
packages=find_packages(include=["multi_api_mocker", "multi_api_mocker.*"]),
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/ottuco/multi_api_mocker",
version="1.3.0",
zip_safe=False,
)