python: replace pkg_resources with importlib.metadata

Use of pkg_resources is discouraged in favor of importlib.resources,
importlib.metadata, and their backports.
This commit is contained in:
Robert Schütz
2023-02-20 09:29:38 -08:00
committed by Robert Schütz
parent 999a9550f5
commit d3f4654d4b
2 changed files with 7 additions and 3 deletions

View File

@@ -21,6 +21,7 @@ classifiers = [
dependencies = [
"cffi>=1.0.0",
"imap-tools",
"importlib_metadata;python_version<'3.8'",
"pluggy",
"requests",
]