First, I would advise against using pkgutil as I'm working towards deprecating it (it predates Python's modern import implementation and so it makes some bad assumptions).

Second, it sounds like you're interested in https://pypi.org/project/importlib-metadata/.

On Wed, Apr 10, 2019 at 12:50 PM Eric Peterson <epeterson@interactivebrokers.com> wrote:
Hi all,

PEP 376 mentions several new functions that were anticipated to be implemented in pkgutil to read from the dist-info directories that are created when a wheel is installed:

https://www.python.org/dev/peps/pep-0376/#new-functions-and-classes-in-pkgutil

But, I don't see them implemented at least as of Python 3.7:

https://docs.python.org/3.7/library/pkgutil.html

Are those functions implemented somewhere, perhaps outside the standard library?

--Eric
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-leave@python.org
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/archives/list/distutils-sig@python.org/message/FIFTW63X3CQCZYSLHY6TXC4U43ZFU4QH/