Thanks very much for the information, I will take a look at the importlib-metadata project.

After looking into it further, It seems like many, perhaps all, of the functions in PEP 376 were implemented in distlib:


On Apr 11, 2019, at 4:28 PM, Brett Cannon <> wrote:

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

On Wed, Apr 10, 2019 at 12:50 PM Eric Peterson <> 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:

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

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

Distutils-SIG mailing list --
To unsubscribe send an email to
Message archived at