Read version info from package
Read version info from package instead of hard-coded. Change-Id: Ifdd199a1499624967d23e8a7ebd4fc3dd67abda0
This commit is contained in:
parent
d89e55a9e4
commit
660b1b81ee
@ -57,10 +57,11 @@ copyright = u'2016, OpenStack contributors'
|
||||
# |version| and |release|, also used in various other places throughout the
|
||||
# built documents.
|
||||
#
|
||||
from barbican.version import version_info
|
||||
# The short X.Y version.
|
||||
version = '2.1.0'
|
||||
version = version_info.version_string()
|
||||
# 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
|
||||
# for a list of supported languages.
|
||||
|
Loading…
Reference in New Issue
Block a user