forked from awesto/django-shop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
64 lines (60 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from setuptools import setup, find_packages
import shop
try:
from pypandoc import convert
except ImportError:
import io
def convert(filename, fmt):
with io.open(filename, encoding='utf-8') as fd:
return fd.read()
CLASSIFIERS = [
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
]
setup(
author="Jacob Rief",
author_email="[email protected]",
name="django-shop",
version=shop.__version__,
description="A RESTful e-commerce framework based on Django",
long_description=convert('README.md', 'rst'),
url='http://www.django-shop.org/',
license='BSD License',
platforms=['OS Independent'],
classifiers=CLASSIFIERS,
packages=find_packages(exclude=['example', 'docs', 'testshop']),
include_package_data=True,
zip_safe=False,
install_requires=[
'Django>=1.10,<2.0',
'django-post-office>=3.0.0',
'django-filer>=1.2.8',
'django-ipware>=1.1.1',
'django-fsm>=2.4.0',
'django-fsm-admin>=1.2.4',
'djangorestframework>=3.6.3',
'django-angular>=1.1.2',
'Django-Select2>=5.8.9',
'django-rest-auth>=0.9.1',
'django-admin-sortable2>=0.6.19',
'django-formtools>=1.0',
'djangocms-cascade>=0.15.4',
'bs4>=0.0.1',
],
# Note: this requires setuptools >= 18.0.
extras_require={
':python_version<"3.4"': ['enum34'],
},
)