-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
86 lines (79 loc) · 2.37 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
74
75
76
77
78
79
80
81
82
83
84
85
86
import logging
import os
from setuptools import find_packages, setup
logger = logging.getLogger(__name__)
# Get the base directory
here = os.path.dirname(__file__)
if not here:
here = os.path.curdir
here = os.path.abspath(here)
try:
readme = os.path.join(here, "README.md")
long_description = open(readme, "r").read()
except IOError:
logger.warning("README file not found or unreadable.")
long_description = "See https://github.com/brunns/mbtest/"
install_dependencies = [
"requests>=2.0",
"furl>=2.0",
"pyhamcrest>=2.0",
"Deprecated>=1.2",
"brunns-matchers>=2.4",
"yarl>=1.9",
]
test_dependencies = [
"pytest>=6.0",
"contexttimer>=0.3",
"brunns-builder>=0.6",
"trustme>=0.9",
]
coverage_dependencies = [
"pytest-cov>=2.5",
"codacy-coverage>=1.0",
]
docs_dependencies = [
"sphinx>=3.0",
"sphinx-autodoc-typehints>=1.10",
"pytest>=6.0",
"furo",
]
extras = {
"install": install_dependencies,
"test": test_dependencies,
"coverage": coverage_dependencies,
"docs": docs_dependencies,
}
setup(
name="mbtest",
zip_safe=False,
version="2.13.1",
description="Python wrapper & utils for the Mountebank over the wire test double tool.",
long_description=long_description,
long_description_content_type="text/markdown",
author="Simon Brunning",
author_email="[email protected]",
url="https://github.com/brunns/mbtest/",
packages=find_packages(where="src"),
package_dir={"": "src"},
package_data={"": ["README.md"], "mbtest": ["py.typed"]},
include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Testing",
],
python_requires=">=3.8",
install_requires=install_dependencies,
tests_require=test_dependencies,
extras_require=extras,
)