-
Notifications
You must be signed in to change notification settings - Fork 162
/
setup.py
executable file
·67 lines (65 loc) · 2.02 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
from setuptools import find_packages, setup
__version__ = "3.2.7"
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", encoding="utf-8").read(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Application Frameworks",
],
python_requires=">=3.7",
keywords="",
author="Lars van de Kerkhof, Martijn Jacobs",
author_email="lars@permanentmarkers.nl, martijn@devopsconsulting.nl",
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>=3.2",
"Django>=3.2",
"djangorestframework>=3.9",
],
# mark test target to require extras.
extras_require={
"dev": [
"coverage",
"wheel",
"easy_thumbnails",
"vdt.versionplugin.wheel",
"pylint",
"pylint-django",
"black>=23.1.0",
],
},
)