From f7547711a094bf3fa918b1a05c8766fcb12db30f Mon Sep 17 00:00:00 2001 From: Akos Kiss Date: Mon, 16 Dec 2024 09:18:32 +0100 Subject: [PATCH] Don't import importlib_metadata since Py3.8 already has it as importlib.metadata (#52) It has already been dropped from setup.cfg. --- picireny/cli.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/picireny/cli.py b/picireny/cli.py index ead53a9..14d0432 100644 --- a/picireny/cli.py +++ b/picireny/cli.py @@ -8,14 +8,10 @@ import json from argparse import ArgumentParser +from importlib import metadata from os.path import abspath, dirname, exists, join, realpath from shutil import rmtree -try: - from importlib import metadata -except ImportError: - import importlib_metadata as metadata - import antlerinator import inators import picire