Skip to content

Commit

Permalink
Merge pull request #11 from hfreire/patch-1
Browse files Browse the repository at this point in the history
Use importlib_metadata for getting the version
  • Loading branch information
jschlyter authored Sep 8, 2023
2 parents c6780db + 0089bde commit 7a2b728
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chargeamps/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import pkg_resources
from importlib.metadata import version

__version__ = pkg_resources.get_distribution("chargeamps").version
__version__ = version("chargeamps")

0 comments on commit 7a2b728

Please sign in to comment.