Importing pkg_resources has a side-effect of reading all of the
metadata for every installed python package. The newer
importlib.metadata module can load the metadata for one package at a
time, which makes this library load more quickly and improves the
startup-time performance of applications that use it such as
importlib.metadata is part of the python 3.8 standard library and is
distributed separately for other versions of python.
Signed-off-by: Doug Hellmann <email@example.com>