Tim Burke 7b823c16e2 Use importlib.metadata instead of pkg_resources
...if available. It was added in Python 3.8, and marked no-longer-
provisional in Python 3.10.

Python 3.12 no longer pre-installs setuptools in virtual environments,
which means we can no longer rely on distutils, setuptools,
pkg_resources, and easy_install being available.

Fortunately, importlib.metadata covers the one use we have of
pkg_resources.

Change-Id: Iaa68282960a1c73569f916c3b00acf7f839b9807
2024-01-29 09:38:46 -08:00
..
2023-09-20 15:05:25 +00:00
2013-08-15 20:42:37 +00:00