Remove importlib-metadata dependency (#457)

This is no longer needed, as python 3.8 has native importlib.metadata
This commit is contained in:
Teemu R
2023-05-17 20:33:02 +02:00
committed by GitHub
parent ce58cc1a6a
commit 39310f3f02
3 changed files with 18 additions and 35 deletions

View File

@@ -11,7 +11,7 @@ For device type specific actions `SmartBulb`, `SmartPlug`, or `SmartStrip`
Module-specific errors are raised as `SmartDeviceException` and are expected
to be handled by the user of the library.
"""
from importlib_metadata import version # type: ignore
from importlib.metadata import version
from kasa.discover import Discover
from kasa.emeterstatus import EmeterStatus