bundles.py 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # -*- coding: utf-8 -*-
  2. """
  3. celery.contrib.bundles
  4. ~~~~~~~~~~~~~~~~~~~~~~
  5. Celery PyPI Bundles.
  6. """
  7. from __future__ import absolute_import
  8. from celery import VERSION
  9. from bundle.extensions import Dist
  10. defaults = {'author': 'Celery Project',
  11. 'author_email': 'bundles@celeryproject.org',
  12. 'url': 'http://celeryproject.org',
  13. 'license': 'BSD'}
  14. celery = Dist('celery', VERSION, **defaults)
  15. django_celery = Dist('django-celery', VERSION, **defaults)
  16. flask_celery = Dist('Flask-Celery', VERSION, **defaults)
  17. bundles = [
  18. celery.Bundle('celery-with-redis',
  19. 'Bundle installing the dependencies for Celery and Redis',
  20. requires=['redis>=2.4.4']),
  21. celery.Bundle('celery-with-mongodb',
  22. 'Bundle installing the dependencies for Celery and MongoDB',
  23. requires=['pymongo']),
  24. celery.Bundle('celery-with-couchdb',
  25. 'Bundle installing the dependencies for Celery and CouchDB',
  26. requires=['couchdb']),
  27. celery.Bundle('celery-with-beanstalk',
  28. 'Bundle installing the dependencies for Celery and Beanstalk',
  29. requires=['beanstalkc']),
  30. django_celery.Bundle('django-celery-with-redis',
  31. 'Bundle installing the dependencies for Django-Celery and Redis',
  32. requires=['redis>=2.4.4']),
  33. django_celery.Bundle('django-celery-with-mongodb',
  34. 'Bundle installing the dependencies for Django-Celery and MongoDB',
  35. requires=['pymongo']),
  36. django_celery.Bundle('django-celery-with-couchdb',
  37. 'Bundle installing the dependencies for Django-Celery and CouchDB',
  38. requires=['couchdb']),
  39. django_celery.Bundle('django-celery-with-beanstalk',
  40. 'Bundle installing the dependencies for Django-Celery and Beanstalk',
  41. requires=['beanstalkc']),
  42. ]