-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
77 lines (70 loc) · 1.94 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
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>=1.8.1",
"sphinx-rtd-theme==0.4.2",
"sphinx-autodoc-typehints==1.6.0",
"m2r2==0.16",
]
tests_require = [
"freezegun==1.2.0",
"mock==4.0.3",
"pretend==1.0.9",
"coverage[toml]>=6.2",
"pytest-cov==3.0.0",
"pytest==7.0.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==0.931",
]
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="2022.6.4",
description="SDK for Commercetools",
long_description=long_description,
author="Lab Digital B.V.",
author_email="opensource@labdigital.nl",
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.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
],
zip_safe=False,
)