__init__.py 1.1 KB

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