summaryrefslogtreecommitdiff
path: root/common/src/leap/soledad/common/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/leap/soledad/common/__init__.py')
-rw-r--r--common/src/leap/soledad/common/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/src/leap/soledad/common/__init__.py b/common/src/leap/soledad/common/__init__.py
index 4e45b828..26467740 100644
--- a/common/src/leap/soledad/common/__init__.py
+++ b/common/src/leap/soledad/common/__init__.py
@@ -62,3 +62,7 @@ except ImportError:
soledad_assert(isinstance(var, expectedType),
"Expected type %r instead of %r" %
(expectedType, type(var)))
+
+from ._version import get_versions
+__version__ = get_versions()['version']
+del get_versions