| 1 |
#!/usr/bin/env python |
|---|
| 2 |
|
|---|
| 3 |
# This will effectively place satchmo files but there needs to |
|---|
| 4 |
# be extra work before this would work correctly |
|---|
| 5 |
|
|---|
| 6 |
import ez_setup |
|---|
| 7 |
ez_setup.use_setuptools() |
|---|
| 8 |
from setuptools import setup, find_packages |
|---|
| 9 |
import os, os.path |
|---|
| 10 |
import sys |
|---|
| 11 |
|
|---|
| 12 |
DIRNAME = os.path.dirname(__file__) |
|---|
| 13 |
APPDIR = os.path.join(DIRNAME, 'satchmo/apps') |
|---|
| 14 |
if not APPDIR in sys.path: |
|---|
| 15 |
sys.path.append(APPDIR) |
|---|
| 16 |
|
|---|
| 17 |
# Dynamically calculate the version based on django.VERSION. |
|---|
| 18 |
version = __import__('satchmo_store').__version__ |
|---|
| 19 |
packages = find_packages('satchmo/apps') |
|---|
| 20 |
packages.append('static') |
|---|
| 21 |
|
|---|
| 22 |
setup(name = "Satchmo", |
|---|
| 23 |
version = version, |
|---|
| 24 |
author = "Chris Moffitt", |
|---|
| 25 |
author_email = "chris@moffitts.net", |
|---|
| 26 |
url = "http://www.satchmoproject.com", |
|---|
| 27 |
license = "BSD", |
|---|
| 28 |
description = "The webshop for perfectionists with deadlines.", |
|---|
| 29 |
long_description = "Satchmo is an ecommerce framework created using Django.", |
|---|
| 30 |
include_package_data = True, |
|---|
| 31 |
package_dir = { |
|---|
| 32 |
'' : 'satchmo/apps', |
|---|
| 33 |
'static' : 'satchmo/static' |
|---|
| 34 |
}, |
|---|
| 35 |
packages = packages, |
|---|
| 36 |
classifiers = [ |
|---|
| 37 |
'Development Status :: 4 - Beta', |
|---|
| 38 |
'License :: OSI Approved :: BSD License', |
|---|
| 39 |
'Operating System :: OS Independent', |
|---|
| 40 |
'Topic :: Office/Business', |
|---|
| 41 |
] |
|---|
| 42 |
) |
|---|