diff --git a/doc/conf.py b/doc/conf.py index c51089c..c95c855 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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 @@ -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. diff --git a/pyDOE3/__init__.py b/pyDOE3/__init__.py index 4c6f2b1..b3b84fe 100644 --- a/pyDOE3/__init__.py +++ b/pyDOE3/__init__.py @@ -52,3 +52,5 @@ "var_regression_matrix", "gsd", ] + +from ._version import __version__ # noqa