Load version info correctly in docs config
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user