old_contents: #! /usr/bin/env python
  from distutils.core import setup
  
  # dynamic retrive version number from stachless.VERSION
  version_tuple = __import__('satchless').VERSION
  version = ".".join([str(v) for v in version_tuple])
  
  setup(name="satchless",
        author="Mirumee Software",
        author_email="hello@mirumee.com",
        description="""An e-commerence framework for Django""",
        version = version,
        url = "http://satchless.com/",
        packages = ["satchless",
                    "satchless.cart",
                    "satchless.contact",
                    "satchless.contrib",
                    "satchless.contrib.checkout",
                    "satchless.contrib.delivery",
                    "satchless.contrib.order",
                    "satchless.contrib.payment",
                    "satchless.contrib.pricing",
                    "satchless.contrib.productset",
                    "satchless.contrib.products",
                    "satchless.contrib.search",
                    "satchless.contrib.stock",
                    "satchless.contrib.tax",
                    "satchless.delivery",
                    "satchless.forms",
                    "satchless.image",
                    "satchless.order",
                    "satchless.payment",
                    "satchless.pricing",
                    "satchless.product",
                    "satchless.util"],
        classifiers = ['Development Status :: 3 - Alpha',
                       'Environment :: Web Environment',
                       'Framework :: Django',
                       'Intended Audience :: Developers',
                       'License :: OSI Approved :: BSD License',
                       'Operating System :: OS Independent',
                       'Programming Language :: Python',
                       'Programming Language :: Python :: 2.5',
                       'Programming Language :: Python :: 2.6',
                       'Programming Language :: Python :: 2.7',
                       'Topic :: Internet :: WWW/HTTP',
                       'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
                       'Topic :: Software Development :: Libraries :: Application Frameworks',
                       'Topic :: Software Development :: Libraries :: Python Modules',
                      ],
       )
  
new_contents: #! /usr/bin/env python
  from setuptools import setup, find_packages
  
  # dynamic retrive version number from stachless.VERSION
  version_tuple = __import__('satchless').VERSION
  version = '.'.join([str(v) for v in version_tuple])
  
  CLASSIFIERS = [
      'Development Status :: 3 - Alpha',
      'Environment :: Web Environment',
      'Framework :: Django',
      'Intended Audience :: Developers',
      'License :: OSI Approved :: BSD License',
      'Operating System :: OS Independent',
      'Programming Language :: Python',
      'Programming Language :: Python :: 2.5',
      'Programming Language :: Python :: 2.6',
      'Programming Language :: Python :: 2.7',
      'Topic :: Internet :: WWW/HTTP',
      'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
      'Topic :: Software Development :: Libraries :: Application Frameworks',
      'Topic :: Software Development :: Libraries :: Python Modules',
  ]
  
  PACKAGE_DATA = {
      '': [
          'locale/**/*.mo',
          'templates/*.*',
          'templates/**/*.*',
      ],
  }
  
  REQUIREMENTS = [
      'django-mptt >= 0.4.2',
  ]
  
  setup(name='satchless',
        author='Mirumee Software',
        author_email='hello@mirumee.com',
        description='An e-commerence framework for Django',
        version = version,
        url = 'http://satchless.com/',
        packages = find_packages(exclude=['doc*', 'examples*', 'tests*',
                                          'website*']),
        package_data=PACKAGE_DATA,
        classifiers=CLASSIFIERS,
        install_requires=REQUIREMENTS,
        platforms=['any'],
        zip_safe=False)
  
subject: Switch to setuptools