Merge "Read version info from package"

This commit is contained in:
Jenkins 2017-03-06 10:51:55 +00:00 committed by Gerrit Code Review
commit 78fa733634

View File

@ -57,10 +57,11 @@ copyright = u'2016, OpenStack contributors'
# |version| and |release|, also used in various other places throughout the # |version| and |release|, also used in various other places throughout the
# built documents. # built documents.
# #
from barbican.version import version_info
# The short X.Y version. # The short X.Y version.
version = '2.1.0' version = version_info.version_string()
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = '2.1.0' release = version_info.release_string()
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.