aboutsummaryrefslogtreecommitdiff
path: root/doc/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 55e3572..7ea5303 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -20,10 +20,7 @@ autoclass_content = 'both'
html_static_path = ['_static']
templates_path = ['_templates']
-_locals = {}
-with open('../rumba/_version.py') as fp:
- exec(fp.read(), None, _locals)
-version = _locals['__version__']
+from rumba import __version__
+version = __version__
-version = version
release = version