|
|
@@ -6,11 +6,11 @@ To release a new version to PyPi:
|
|
6
|
6
|
- Run: python setup.py sdist upload
|
|
7
|
7
|
"""
|
|
8
|
8
|
|
|
9
|
|
-from setuptools import setup
|
|
10
|
|
-from setuptools import find_packages
|
|
|
9
|
+from setuptools import setup, find_packages
|
|
11
|
10
|
|
|
12
|
11
|
from oscar import get_version
|
|
13
|
12
|
|
|
|
13
|
+
|
|
14
|
14
|
setup(name='django-oscar',
|
|
15
|
15
|
version=get_version().replace(' ', '-'),
|
|
16
|
16
|
url='https://github.com/tangentlabs/django-oscar',
|
|
|
@@ -18,80 +18,16 @@ setup(name='django-oscar',
|
|
18
|
18
|
author_email="david.winterbottom@tangentlabs.co.uk",
|
|
19
|
19
|
description="A domain-driven e-commerce framework for Django 1.3+",
|
|
20
|
20
|
long_description=open('README.rst').read(),
|
|
|
21
|
+ keywords="E-commerce, Django, domain-driven",
|
|
21
|
22
|
license='BSD',
|
|
22
|
23
|
platforms=['linux'],
|
|
23
|
|
- packages=['oscar',
|
|
24
|
|
- 'oscar.apps',
|
|
25
|
|
- 'oscar.apps.address',
|
|
26
|
|
- 'oscar.apps.analytics',
|
|
27
|
|
- 'oscar.apps.analytics.management',
|
|
28
|
|
- 'oscar.apps.analytics.management.commands',
|
|
29
|
|
- 'oscar.apps.basket',
|
|
30
|
|
- 'oscar.apps.basket.templatetags',
|
|
31
|
|
- 'oscar.apps.catalogue',
|
|
32
|
|
- 'oscar.apps.catalogue.templatetags',
|
|
33
|
|
- 'oscar.apps.catalogue.management',
|
|
34
|
|
- 'oscar.apps.catalogue.management.commands',
|
|
35
|
|
- 'oscar.apps.catalogue.reviews',
|
|
36
|
|
- 'oscar.apps.checkout',
|
|
37
|
|
- 'oscar.apps.customer',
|
|
38
|
|
- 'oscar.apps.customer.templatetags',
|
|
39
|
|
- 'oscar.apps.discount',
|
|
40
|
|
- 'oscar.apps.dynamic_images',
|
|
41
|
|
- 'oscar.apps.dynamic_images.templatetags',
|
|
42
|
|
- 'oscar.apps.offer',
|
|
43
|
|
- 'oscar.apps.order',
|
|
44
|
|
- 'oscar.apps.order_management',
|
|
45
|
|
- 'oscar.apps.partner',
|
|
46
|
|
- 'oscar.apps.partner.management',
|
|
47
|
|
- 'oscar.apps.partner.management.commands',
|
|
48
|
|
- 'oscar.apps.partner.tests',
|
|
49
|
|
- 'oscar.apps.payment',
|
|
50
|
|
- 'oscar.apps.payment.datacash',
|
|
51
|
|
- 'oscar.apps.payment.tests',
|
|
52
|
|
- 'oscar.apps.promotions',
|
|
53
|
|
- 'oscar.apps.promotions.templatetags',
|
|
54
|
|
- 'oscar.apps.reports',
|
|
55
|
|
- 'oscar.apps.search',
|
|
56
|
|
- 'oscar.apps.shipping',
|
|
57
|
|
- 'oscar.apps.voucher',
|
|
58
|
|
- 'oscar.core',
|
|
59
|
|
- 'oscar.core.logging',
|
|
60
|
|
- 'oscar.forms',
|
|
61
|
|
- 'oscar.templatetags',
|
|
62
|
|
- 'oscar.test',
|
|
63
|
|
- 'oscar.views',
|
|
64
|
|
- 'oscar.models',],
|
|
65
|
|
- package_data={'oscar': ['README.rst',
|
|
66
|
|
- 'templates/basket/*.html',
|
|
67
|
|
- 'templates/catalogue/*.html',
|
|
68
|
|
- 'templates/checkout/*.html',
|
|
69
|
|
- 'templates/customer/*.html',
|
|
70
|
|
- 'templates/customer/history/*.html',
|
|
71
|
|
- 'templates/order_management/*.html',
|
|
72
|
|
- 'templates/promotions/*.html',
|
|
73
|
|
- 'templates/reports/*.html',
|
|
74
|
|
- 'templates/reviews/*.html',
|
|
75
|
|
- 'templates/search/*.html',
|
|
76
|
|
- 'templates/search/indexes/*/*.txt',],
|
|
77
|
|
- 'oscar.apps.address': ['fixtures/*'],
|
|
78
|
|
- 'oscar.apps.catalogue': ['fixtures/*'],
|
|
79
|
|
- 'oscar.apps.catalogue.reviews': ['fixtures/*'],
|
|
80
|
|
- 'oscar.apps.dynamic_images': ['test_fixtures/*'],
|
|
81
|
|
- 'oscar.apps.offer': ['fixtures/*'],
|
|
82
|
|
- 'oscar.apps.order': ['fixtures/*'],
|
|
83
|
|
- 'oscar.apps.partner': ['fixtures/*'],
|
|
84
|
|
- 'oscar.apps.search': ['fixtures/*'],
|
|
85
|
|
- 'oscar.apps.shipping': ['fixtures/*'],},
|
|
|
24
|
+ packages=find_packages(exclude=["*.tests"]),
|
|
86
|
25
|
install_requires=[
|
|
87
|
26
|
'django-extra-views>=0.1.0',
|
|
88
|
27
|
'django-haystack>=1.2.0',
|
|
89
|
28
|
'django-treebeard>=1.6.1',
|
|
90
|
29
|
'sorl-thumbnail>=11.05.1',
|
|
91
|
30
|
],
|
|
92
|
|
- dependency_links = [
|
|
93
|
|
- 'http://github.com/AndrewIngram/django-extra-views/tarball/master#egg=django-extra-views-0.1.0',
|
|
94
|
|
- ],
|
|
95
|
31
|
# See http://pypi.python.org/pypi?%3Aaction=list_classifiers
|
|
96
|
32
|
classifiers=['Environment :: Web Environment',
|
|
97
|
33
|
'Framework :: Django',
|