diff --git a/bioTea/__init__.py b/bioTea/__init__.py index 3835436..bbee25e 100644 --- a/bioTea/__init__.py +++ b/bioTea/__init__.py @@ -4,6 +4,7 @@ """ import collections import importlib.resources as pkg_resources +from importlib.metadata import version import logging import os from copy import copy @@ -20,7 +21,7 @@ init(autoreset=True) -__version__ = "1.1.0" +__version__ = version(__package__) # Set what is exported by the __init__ __all__ = ["__version__", "OPTIONS"]