__init__.py 544 B

1234567891011121314151617181920
  1. """Distributed Task Queue"""
  2. VERSION = (1, 1, 2)
  3. __version__ = ".".join(map(str, VERSION[0:3])) + "".join(VERSION[3:])
  4. __author__ = "Ask Solem"
  5. __contact__ = "ask@celeryproject.org"
  6. __homepage__ = "http://github.com/ask/celery/"
  7. __docformat__ = "restructuredtext"
  8. def is_stable_release():
  9. if len(VERSION) > 3 and isinstance(VERSION[3], basestring):
  10. return False
  11. return not VERSION[1] % 2
  12. def version_with_meta():
  13. return "%s (%s)" % (__version__,
  14. is_stable_release() and "stable" or "unstable")