src/hdalab/__init__.py
changeset 492 19220d52bce7
parent 485 4629c62c0d0a
child 495 c7a352284d1d
--- a/src/hdalab/__init__.py	Fri Mar 06 18:12:15 2015 +0100
+++ b/src/hdalab/__init__.py	Sun Mar 08 14:53:52 2015 +0100
@@ -1,4 +1,6 @@
 # -*- coding: utf-8 -*-
+from __future__ import absolute_import
+
 VERSION = (3, 0, 0, "alpha", 12)
 
 
@@ -13,5 +15,12 @@
             version = '%s-%s.%s' % (version, VERSION[3], VERSION[4])
     return version
 
+__version__ = get_version()
 
-__version__ = get_version()
+try:
+    from .celery import app as celery_app
+except:
+    pass
+
+
+