__init__.py 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. SERIES = 'Chiastic Slide'
  9. VERSION = (3, 0, 1)
  10. __version__ = '.'.join(map(str, VERSION[0:3])) + ''.join(VERSION[3:])
  11. __author__ = 'Ask Solem'
  12. __contact__ = 'ask@celeryproject.org'
  13. __homepage__ = 'http://celeryproject.org'
  14. __docformat__ = 'restructuredtext'
  15. VERSION_BANNER = '%s (%s)' % (__version__, SERIES)
  16. # -eof meta-
  17. # Lazy loading
  18. from .__compat__ import recreate_module
  19. old_module, new_module = recreate_module(__name__, # pragma: no cover
  20. by_module={
  21. 'celery.app': ['Celery', 'bugreport', 'shared_task'],
  22. 'celery.app.task': ['Task'],
  23. 'celery._state': ['current_app', 'current_task'],
  24. 'celery.canvas': ['chain', 'chord', 'chunks', 'group',
  25. 'subtask', 'xmap', 'xstarmap'],
  26. 'celery.utils': ['uuid'],
  27. },
  28. direct={'task': 'celery.task'},
  29. __package__='celery', __file__=__file__,
  30. __path__=__path__, __doc__=__doc__, __version__=__version__,
  31. __author__=__author__, __contact__=__contact__,
  32. __homepage__=__homepage__, __docformat__=__docformat__,
  33. VERSION=VERSION, SERIES=SERIES, VERSION_BANNER=VERSION_BANNER,
  34. )