__init__.py 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # -*- coding: utf-8 -*-
  2. """Distributed Task Queue"""
  3. # :copyright: (c) 2009 - 2012 Ask Solem and individual contributors,
  4. # All rights reserved.
  5. # :copyright: (c) 2012 VMware, Inc., All rights reserved.
  6. # :license: BSD (3 Clause), see LICENSE for more details.
  7. from __future__ import absolute_import
  8. VERSION = (2, 6, 0, 'rc5')
  9. __version__ = '.'.join(map(str, VERSION[0:3])) + ''.join(VERSION[3:])
  10. __author__ = 'Ask Solem'
  11. __contact__ = 'ask@celeryproject.org'
  12. __homepage__ = 'http://celeryproject.org'
  13. __docformat__ = 'restructuredtext'
  14. # -eof meta-
  15. # Lazy loading
  16. from .__compat__ import recreate_module
  17. old_module, new_module = recreate_module(__name__, # pragma: no cover
  18. by_module={
  19. 'celery.app': ['Celery', 'bugreport'],
  20. 'celery.app.task': ['Task'],
  21. 'celery._state': ['current_app', 'current_task'],
  22. 'celery.canvas': ['chain', 'chord', 'chunks',
  23. 'group', 'subtask', 'xmap', 'xstarmap'],
  24. 'celery.utils': ['uuid'],
  25. },
  26. direct={'task': 'celery.task'},
  27. __package__='celery', __file__=__file__,
  28. __path__=__path__, __doc__=__doc__, __version__=__version__,
  29. __author__=__author__, __contact__=__contact__,
  30. __homepage__=__homepage__, __docformat__=__docformat__, VERSION=VERSION,
  31. )