diff --git a/lib/reda/__init__.py b/lib/reda/__init__.py
index <HASH>..<HASH> 100644
--- a/lib/reda/__init__.py
+++ b/lib/reda/__init__.py
@@ -1,6 +1,3 @@
-
-
-
 from reda.utils.enter_directory import CreateEnterDirectory
 from reda.utils.enter_directory import EnterDirectory
 import reda.importers.utils.transforms as transforms
@@ -35,3 +32,9 @@ search
 data
 ConfigManager
 transforms
+
+
+def version():
+    """Return the installed version of reda, using the pkg_resources package"""
+    import pkg_resources
+    return pkg_resources.require('reda')[0].version
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,8 +8,7 @@ from setuptools import setup, find_packages
 # python.exe setup.py bdist --format msi
 # to create a windows installer
 
-version_short = '0.1'
-version_long = '0.1.5-dev'
+version_long = '0.1.5.dev'
 
 # package data
 os.chdir('lib/reda/testing')
* add reda.version()
* change version from <I>-dev to <I>.dev