Skip to content

Commit

Permalink
feat: Remove importlib-metadata dependency since we drop support for …
Browse files Browse the repository at this point in the history
…pre-python3.8 environments.
  • Loading branch information
gavinying committed Oct 13, 2024
1 parent 30813b0 commit 36a6fd4
Show file tree
Hide file tree
Showing 4 changed files with 237 additions and 195 deletions.
6 changes: 2 additions & 4 deletions modpoll/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
try:
import importlib.metadata as importlib_metadata
except ModuleNotFoundError:
import importlib_metadata
import importlib.metadata as importlib_metadata

__version__ = importlib_metadata.version(__name__)
Loading

0 comments on commit 36a6fd4

Please sign in to comment.