Skip to content

Commit

Permalink
remove importlib_metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
CM000n committed Dec 23, 2023
1 parent 057595f commit 338430a
Show file tree
Hide file tree
Showing 3 changed files with 154 additions and 149 deletions.
8 changes: 2 additions & 6 deletions mytoyota/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
"""Toyota Connected Services Client."""
from .client import MyT # pylint: disable=unused-import # NOQA
import importlib.metadata as importlib_metadata

try:
import importlib.metadata as importlib_metadata
except ModuleNotFoundError:
# 3.7
import importlib_metadata
from .client import MyT # pylint: disable=unused-import # NOQA

__version__ = importlib_metadata.version(__name__)
Loading

0 comments on commit 338430a

Please sign in to comment.