bundles.py 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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(
  19. 'celery-with-redis',
  20. 'Bundle installing the dependencies for Celery and Redis',
  21. requires=['redis>=2.4.4'],
  22. ),
  23. celery.Bundle(
  24. 'celery-with-mongodb',
  25. 'Bundle installing the dependencies for Celery and MongoDB',
  26. requires=['pymongo'],
  27. ),
  28. celery.Bundle(
  29. 'celery-with-couchdb',
  30. 'Bundle installing the dependencies for Celery and CouchDB',
  31. requires=['couchdb'],
  32. ),
  33. celery.Bundle(
  34. 'celery-with-beanstalk',
  35. 'Bundle installing the dependencies for Celery and Beanstalk',
  36. requires=['beanstalkc'],
  37. ),
  38. django_celery.Bundle(
  39. 'django-celery-with-redis',
  40. 'Bundle installing the dependencies for Django-Celery and Redis',
  41. requires=['redis>=2.4.4'],
  42. ),
  43. django_celery.Bundle(
  44. 'django-celery-with-mongodb',
  45. 'Bundle installing the dependencies for Django-Celery and MongoDB',
  46. requires=['pymongo'],
  47. ),
  48. django_celery.Bundle(
  49. 'django-celery-with-couchdb',
  50. 'Bundle installing the dependencies for Django-Celery and CouchDB',
  51. requires=['couchdb'],
  52. ),
  53. django_celery.Bundle(
  54. 'django-celery-with-beanstalk',
  55. 'Bundle installing the dependencies for Django-Celery and Beanstalk',
  56. requires=['beanstalkc'],
  57. ),
  58. ]