diff --git a/src/natlinkcore/__init__.py b/src/natlinkcore/__init__.py index 0574eb2..cad504e 100644 --- a/src/natlinkcore/__init__.py +++ b/src/natlinkcore/__init__.py @@ -3,7 +3,7 @@ import importlib.metadata -__version__ = importlib.metadata.version('natlinkcore') #version set in pyproject.toml now. +__version__ = importlib.metadata.version(__package__) #version set in pyproject.toml now. #pylint:disable= from pathlib import Path