Skip to content

Commit

Permalink
version should work even if installed from master.zip
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasLecocq committed Feb 7, 2024
1 parent 04b4584 commit e8088c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions msnoise/_version.py
Expand Up @@ -150,8 +150,8 @@ def get_git_version(abbrev=10, dirty=True, append_remote_tracking_branch=True):

if version is None:
try:
from importlib.metadata import version
version = version('msnoise')
from importlib.metadata import version as V
version = V('msnoise')
except:
pass

Expand Down

0 comments on commit e8088c4

Please sign in to comment.