-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
76 lines (69 loc) · 1.92 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
import re
from setuptools import find_packages, setup
install_requires = [
"requests>=2.7.0",
"pytz",
"requests-oauthlib>=1.0.0",
"requests_mock>=1.8.0",
"marshmallow>=3.10.0",
"marshmallow-enum>=1.5.1",
"WebOb>=1.8.0",
"Werkzeug>=0.15.2",
"wrapt>=1.10.0",
]
docs_require = [
"Sphinx==7.0.1",
"sphinx-autodoc-typehints==1.23.3",
"m2r2==0.3.1",
]
tests_require = [
"freezegun==1.2.0",
"mock==4.0.3",
"pretend==1.0.9",
"coverage[toml]>=6.2",
"pytest-cov==5.0.0",
"pytest==8.1.1",
# Linting
"isort==5.10.1",
"flake8==4.0.1",
"flake8-blind-except==0.2.0",
"flake8-debugger==4.0.0",
"flake8-imports==0.1.1",
"mypy==1.9.0",
]
with open("README.rst") as fh:
long_description = re.sub(
"^.. start-no-pypi.*^.. end-no-pypi", "", fh.read(), flags=re.M | re.S
)
setup(
name="commercetools",
version="2024.4.6",
description="SDK for Commercetools",
long_description=long_description,
author="Lab Digital B.V.",
author_email="[email protected]",
url="https://github.com/labd/commercetools-python-sdk",
install_requires=install_requires,
tests_require=tests_require,
extras_require={
"docs": docs_require,
"test": tests_require,
},
entry_points={},
package_dir={"": "src"},
packages=find_packages("src"),
include_package_data=True,
license="MIT",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"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 :: CPython",
],
zip_safe=False,
)