Skip to content

Commit

Permalink
Replace pkg_resources with importlib.metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
jodal committed Mar 1, 2024
1 parent 1c3be55 commit 1aab6bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mopidy_spotify/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import pathlib
from importlib.metadata import version

import pkg_resources
from mopidy import config, ext

__version__ = pkg_resources.get_distribution("Mopidy-Spotify").version
__version__ = version("Mopidy-Spotify")


class Extension(ext.Extension):
Expand Down

0 comments on commit 1aab6bf

Please sign in to comment.