setup.py 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import os
  4. import sys
  5. import codecs
  6. import platform
  7. if sys.version_info < (2, 5):
  8. raise Exception("Celery requires Python 2.5 or higher.")
  9. try:
  10. from setuptools import setup, find_packages
  11. from setuptools.command.test import test
  12. except ImportError:
  13. raise
  14. from ez_setup import use_setuptools
  15. use_setuptools()
  16. from setuptools import setup, find_packages # noqa
  17. from setuptools.command.test import test # noqa
  18. if os.path.exists("README.rst"):
  19. long_description = codecs.open("README.rst", "r", "utf-8").read()
  20. else:
  21. long_description = "See http://pypi.python.org/pypi/celery"
  22. setup(
  23. name="celery-with-redis",
  24. version='2.4.0',
  25. description="Bundle that installs the dependencies for Celery and Redis",
  26. author="Celery Project",
  27. author_email="bundles@celeryproject.org",
  28. url="http://celeryproject.org",
  29. platforms=["any"],
  30. license="BSD",
  31. packages=[],
  32. zip_safe=False,
  33. install_requires=[
  34. "celery>=2.4.0,<3.0.0",
  35. "redis>=2.4.4",
  36. ],
  37. classifiers=[
  38. "Development Status :: 5 - Production/Stable",
  39. "Operating System :: OS Independent",
  40. "License :: OSI Approved :: BSD License",
  41. "Topic :: Software Development :: Libraries :: Python Modules",
  42. "Programming Language :: Python",
  43. "Programming Language :: Python :: 2",
  44. "Programming Language :: Python :: 2.5",
  45. "Programming Language :: Python :: 2.6",
  46. "Programming Language :: Python :: 2.7",
  47. "Programming Language :: Python :: 3",
  48. ],
  49. long_description=long_description)