satchmo / setup.py

#!/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',
      ]
)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.