__init__.py 1.4 KB

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