pyconfig
pyconfig copied to clipboard
Use either importlib.metadata.entry_points or pkg_resources.iter_entry_points
pkg_resources is deprecated and not available by default in Python 3.12 virtual environments as setuptools is not pre-installed by venv. This patch transparently addresses this issue.