Skip to content

Commit

Permalink
chore: use __package__ for __version__
Browse files Browse the repository at this point in the history
  • Loading branch information
lang-m committed Oct 6, 2023
1 parent 5a8e979 commit f0395f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mag2exp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from . import ltem, magnetometry, mfm, moke, quick_plots, sans, util, x_ray

__version__ = importlib.metadata.version(__name__)
__version__ = importlib.metadata.version(__package__)


def test():
Expand Down

0 comments on commit f0395f7

Please sign in to comment.