Skip to content

Commit

Permalink
Use dynamic version in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
relf committed Apr 15, 2024
1 parent e3b3652 commit 766e810
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

sys.path.insert(0, os.path.abspath(".."))

import pyDOE3
from pyDOE3 import __version__

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down Expand Up @@ -57,7 +57,7 @@
# The short X.Y version.
version = "1"
# The full version, including alpha/beta/rc tags.
release = pyDOE3.__version__
release = __version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 2 additions & 0 deletions pyDOE3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@
"var_regression_matrix",
"gsd",
]

from ._version import __version__ # noqa

0 comments on commit 766e810

Please sign in to comment.