Skip to content

Commit

Permalink
better way of specifying package name
Browse files Browse the repository at this point in the history
  • Loading branch information
dougransom committed Sep 23, 2024
1 parent 5fb8902 commit 3327ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/natlinkcore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3327ba8

Please sign in to comment.