Source

satchmo / setup.py

Chris Moffitt 9d3bd18 




Bruce Kroeze f2bc6a4 




Chris Moffitt 9d3bd18 
Bruce Kroeze f2bc6a4 


Chris Moffitt cdfe815 
Chris Moffitt 9d3bd18 

Bruce Kroeze f2bc6a4 


Chris Moffitt a0e07cf 

Chris Moffitt 9d3bd18 







Chris Moffitt ac18257 
Bruce Kroeze f2bc6a4 
Chris Moffitt f8e7517 
Bruce Kroeze f2bc6a4 
Bruce Kroeze e88aff5 
Chris Moffitt a0e07cf 


Bruce Kroeze f2bc6a4 
Chris Moffitt 266a66b 
Chris Moffitt bd97da6 
Chris Moffitt 9d3bd18 






Bruce Kroeze f2bc6a4 
#!/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 = "chris@moffitts.net",
      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',
      ]
)