diff --git a/babelizer/cli.py b/babelizer/cli.py index 1659b8f5..a408e6b8 100644 --- a/babelizer/cli.py +++ b/babelizer/cli.py @@ -3,12 +3,18 @@ import fnmatch import os import pathlib +import sys import tempfile from functools import partial import click import git -import pkg_resources + +if sys.version_info >= (3, 12): # pragma: no cover (PY12+) + import importlib.resources as importlib_resources +else: # pragma: no cover (= (3, 12): # pragma: no cover (PY12+) + import importlib.resources as importlib_resources +else: # pragma: no cover (=5", "pyyaml", "tomlkit",