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

It has already been dropped from setup.cfg.
  • Loading branch information
akosthekiss committed Dec 15, 2024
1 parent 850b1f2 commit 9632a69
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions picireny/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9632a69

Please sign in to comment.