Skip to content

Commit

Permalink
Don't import importlib_metadata since Py3.8 already has it as importl…
Browse files Browse the repository at this point in the history
…ib.metadata (renatahodovan#52)

It has already been dropped from setup.cfg.
  • Loading branch information
akosthekiss authored Dec 15, 2024
1 parent d2871f2 commit 34037bc
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions picire/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2016-2023 Renata Hodovan, Akos Kiss.
# Copyright (c) 2016-2024 Renata Hodovan, Akos Kiss.
# Copyright (c) 2023 Daniel Vince.
#
# Licensed under the BSD 3-Clause License
Expand All @@ -13,17 +13,13 @@
import time

from datetime import timedelta
from importlib import metadata
from math import inf
from multiprocessing import cpu_count
from os.path import basename, exists, join, realpath
from shutil import rmtree
from textwrap import indent

try:
from importlib import metadata
except ImportError:
import importlib_metadata as metadata

import chardet
import inators

Expand Down

0 comments on commit 34037bc

Please sign in to comment.