Skip to content

Commit

Permalink
Remove filters.__version__ 🐴
Browse files Browse the repository at this point in the history
Use `importlib.metadata.distribution()` to get the library version string instead.
  • Loading branch information
todofixthis committed Oct 6, 2023
1 parent b9c4a3b commit 8d93f09
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions filters/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
from importlib.metadata import distribution

__version__ = distribution('phx-filters').version
del distribution

# Make the base filters accessible from the top level of the package.
# Note that the order is important here, due to dependencies.
from .base import *
Expand Down

0 comments on commit 8d93f09

Please sign in to comment.