-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·49 lines (44 loc) · 1.48 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
#!/usr/bin/env python
# This will effectively place satchmo files but there needs to
# be extra work before this would work correctly
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup, find_packages
import os, os.path
import sys
DIRNAME = os.path.dirname(__file__)
APPDIR = os.path.join(DIRNAME, 'satchmo/apps')
if not APPDIR in sys.path:
sys.path.insert(0,APPDIR)
# Dynamically calculate the version based on django.VERSION.
version = __import__('satchmo_store').__version__
packages = find_packages('satchmo/apps')
packages.append('static')
packages.append('docs')
packages.append('satchmo_skeleton')
setup(name = "Satchmo",
version = version,
author = "Chris Moffitt",
author_email = "[email protected]",
url = "http://www.satchmoproject.com",
license = "BSD",
description = "The webshop for perfectionists with deadlines.",
long_description = "Satchmo is an ecommerce framework created using Django.",
include_package_data = True,
zip_safe = False,
package_dir = {
'' : 'satchmo/apps',
'static' : 'satchmo/static',
'docs' : 'docs',
'satchmo_skeleton' : 'satchmo/projects/skeleton',
},
scripts=['scripts/clonesatchmo.py'],
setup_requires=["setuptools_hg"],
packages = packages,
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Topic :: Office/Business',
]
)