__init__.py 438 B

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