diff --git a/docs/conf.py b/docs/conf.py index 89ff0213..40a43a02 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,7 +48,7 @@ # |version| and |release|, also used in various other places throughout the # built documents. # -from nsupdate import version as nsupdate_version +from nsupdate import version_tuple as nsupdate_version # The short X.Y version. version = '%d.%d' % nsupdate_version[:2] # The full version, including alpha/beta/rc tags. diff --git a/src/nsupdate/__init__.py b/src/nsupdate/__init__.py index 1e6875bd..9c32be63 100644 --- a/src/nsupdate/__init__.py +++ b/src/nsupdate/__init__.py @@ -4,7 +4,7 @@ import re -from ._version import version +from ._version import version, version_tuple class Version(tuple): # pragma: no cover