__init__.py 482 B

12345678910111213141516171819
  1. """Distributed Task Queue"""
  2. import os
  3. VERSION = (2, 2, 0, "a1")
  4. __version__ = ".".join(map(str, VERSION[0:3])) + "".join(VERSION[3:])
  5. __author__ = "Ask Solem"
  6. __contact__ = "ask@celeryproject.org"
  7. __homepage__ = "http://github.com/ask/celery/"
  8. __docformat__ = "restructuredtext"
  9. def Celery(*args, **kwargs):
  10. from celery import app
  11. return app.App(*args, **kwargs)
  12. def CompatCelery(*args, **kwargs):
  13. return Celery(loader=os.environ.get("CELERY_LOADER", "default"))