]> git.phdru.name Git - m_librarian.git/blobdiff - doc/conf.py
Change PYTHONPATH handling
[m_librarian.git] / doc / conf.py
index 7c16bc614a9a0b43185a47088977d86325634386..b6b2ff3c3049528903ebfd34a755d6556be559e0 100644 (file)
@@ -50,6 +50,7 @@ copyright = u'2016, Oleg Broytman'
 # |version| and |release|, also used in various other places throughout the
 # built documents.
 #
+sys.path.insert(0, os.path.abspath('..'))
 from m_librarian.__version__ import __version__
 # The short X.Y version.
 version = '.'.join(__version__.split('.')[:2])