forked from django-oscar/django-oscar-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·59 lines (57 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
from setuptools import find_packages, setup
__version__ = "2.0.2"
setup(
# package name in pypi
name="django-oscar-api",
# extract version from module.
version=__version__,
description="REST API module for django-oscar",
long_description=open("README.rst").read(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 2.1",
"Framework :: Django :: 2.2",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Software Development :: Libraries :: Application Frameworks",
],
python_requires=">=3.5",
keywords="",
author="Lars van de Kerkhof, Martijn Jacobs",
author_email="[email protected], [email protected]",
url="https://github.com/django-oscar/django-oscar-api",
license="BSD",
packages=find_packages(
exclude=[
"*tests.unit",
"*tests.serializers*",
"*tests.doctests*",
"*fixtures",
"*fixtures*",
"*sandbox*",
]
),
# include non python files
include_package_data=True,
zip_safe=False,
# specify dependencies
install_requires=[
"setuptools",
"django-oscar>=2.0",
"Django>=2.1.9", # CVE-2019-12308
"djangorestframework>=3.9", # first version to support Django 2.2
],
# mark test target to require extras.
extras_require={
"dev": ["coverage", "mock", "twine", "wheel"],
"lint": ["flake8", "flake8-black", "flake8-bugbear", "black>=19.10b0"],
},
)