Skip to content

Commit

Permalink
get version number from <project>.__version__
Browse files Browse the repository at this point in the history
  • Loading branch information
GuenterQuast committed Mar 21, 2021
1 parent 02791d0 commit 2d12fe8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions builddoc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
# General information about the project.
project = u'PhyPraKit'
copyright = u'2016, Günter Quast'
## from PhyPraKit import __version__ as _release #! not on readthedocs.org
_release='1.1.3rc2'
from PhyPraKit import __version__ as _release #! not on readthedocs.org
_version = _release.split('.')[0] + '.' + _release.split('.')[1]

# The version info for the project you're documenting, acts as replacement for
Expand Down

0 comments on commit 2d12fe8

Please sign in to comment.