Skip to content

Commit

Permalink
Python 3.8 and use importlib.metadata to get version
Browse files Browse the repository at this point in the history
  • Loading branch information
davegaeddert committed Sep 20, 2024
1 parent 2781bb8 commit 171a04f
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 175 deletions.
4 changes: 2 additions & 2 deletions p/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pkg_resources
import importlib.metadata


__author__ = "Dropseed"
__email__ = "[email protected]"
__version__ = pkg_resources.get_distribution("p").version
__version__ = importlib.metadata.version("p")
Loading

0 comments on commit 171a04f

Please sign in to comment.