From 0d59ace86c40048e2a51bd74254a42abcf16c6fd Mon Sep 17 00:00:00 2001 From: Giorgos Korfiatis <gkorf@grnet.gr> Date: Wed, 16 Sep 2015 16:18:18 +0300 Subject: [PATCH] add agkyra in python path before getting version --- docs/user_guide/source/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/user_guide/source/conf.py b/docs/user_guide/source/conf.py index edfe7ca..3b69742 100644 --- a/docs/user_guide/source/conf.py +++ b/docs/user_guide/source/conf.py @@ -73,6 +73,10 @@ copyright = u'2015, Synnefo development team' # built documents. # # The short X.Y version. + +CURPATH = os.path.dirname(__file__) +toplevel = os.path.join(CURPATH, '..', '..', '..') +sys.path.insert(0, toplevel) import agkyra version = agkyra.__version__ # The full version, including alpha/beta/rc tags. -- GitLab