forked from django-oscar/django-oscar-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·56 lines (53 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
from setuptools import setup, find_packages
__version__ = "1.4.1"
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 :: 1.11',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries :: Application Frameworks',
],
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',
# include all packages in the egg, except the test package.
packages=find_packages(
exclude=['ez_setup', 'examples', '*tests', '*fixtures', 'sandbox']),
# for avoiding conflict have one namespace for all apc related eggs.
namespace_packages=[],
# include non python files
include_package_data=True,
zip_safe=False,
# specify dependencies
install_requires=[
'setuptools',
'django-oscar>=1.5.1',
'djangorestframework>=3.4',
'six'
],
# mark test target to require extras.
extras_require={
'dev': ['django-nose', 'coverage', 'mock', 'twine'],
'docs': ['sphinx', 'sphinx_rtd_theme'],
},
)