You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

setup.py 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #!/usr/bin/env python
  2. """
  3. Installation script:
  4. To release a new version to PyPi:
  5. - Ensure the version is correctly set in oscar.__init__.py
  6. - Run: python setup.py sdist upload
  7. """
  8. from setuptools import setup, find_packages
  9. from oscar import get_version
  10. setup(name='django-oscar',
  11. version=get_version().replace(' ', '-'),
  12. url='https://github.com/tangentlabs/django-oscar',
  13. author="David Winterbottom",
  14. author_email="david.winterbottom@tangentlabs.co.uk",
  15. description="A domain-driven e-commerce framework for Django 1.3+",
  16. long_description=open('README.rst').read(),
  17. keywords="E-commerce, Django, domain-driven",
  18. license='BSD',
  19. platforms=['linux'],
  20. packages=find_packages(exclude=["*.tests"]),
  21. install_requires=[
  22. 'django>=1.3',
  23. 'PIL',
  24. 'django-extra-views>=0.1.0',
  25. 'django-haystack>=1.2.0',
  26. 'django-treebeard>=1.6.1',
  27. 'sorl-thumbnail>=11.05.1',
  28. ],
  29. # See http://pypi.python.org/pypi?%3Aaction=list_classifiers
  30. classifiers=['Environment :: Web Environment',
  31. 'Framework :: Django',
  32. 'Intended Audience :: Developers',
  33. 'License :: OSI Approved :: BSD License',
  34. 'Operating System :: Unix',
  35. 'Programming Language :: Python']
  36. )