Load version info correctly in docs config

This commit is contained in:
Wouter Bolsterlee
2012-05-22 00:43:19 +02:00
parent 9999cc89c9
commit a579853241

View File

@@ -48,11 +48,11 @@ copyright = u'2012'
# built documents.
#
# The short X.Y version.
import happybase
version = happybase.__version__
execfile(os.path.join(os.path.dirname(__file__), '../happybase/version.py'))
version = __version__
# The full version, including alpha/beta/rc tags.
release = happybase.__version__
release = __version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.