Skip to content

Commit

Permalink
Repace pkg_resources with importlib.metadata (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmshea authored Mar 14, 2023
1 parent 86fd60c commit ee617b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jupyter_compare_view/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from IPython import get_ipython
import pkg_resources
import importlib.metadata
from .compare import compare, StartMode
from .sw_cellmagic import CompareViewMagic

__version__: str = pkg_resources.get_distribution(__name__).version
__version__: str = importlib.metadata.version(__name__)


try:
Expand Down

0 comments on commit ee617b7

Please sign in to comment.