Prefer importlib over pkg_resources
authorJeremy Stanley <fungi@yuggoth.org>
Sat, 23 May 2020 20:11:18 +0000 (20:11 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sat, 23 May 2020 20:11:18 +0000 (20:11 +0000)
commitab11a24aee5d7917c91dd09fe0864851633211cf
tree019378ac6f80f842dc13b3f560e92323d2cacf42
parent8b0085791954dc96a909d49d3611c049a96b5c21
Prefer importlib over pkg_resources

Since Setuptools pkg_resources library is effectively deprecated in
newer releases, try to use the equivalent importlib.metadata
features and exceptions when they're available.
mudpy/version.py