[Python-Dev] PEP 376 and PEP 302 - allowing import hooks to provide distribution metadata

Paul Moore p.f.moore at gmail.com
Tue Jul 7 11:52:25 CEST 2009


2009/7/7 M.-A. Lemburg <mal at egenix.com>:
> Well I've added another one above, the pre-built approach :-)

Thanks! That's a lot of help. Are there any public examples, or is
your format only used internally?

Would you expect to use any of the new pkgutil APIs - for example, to
check if a distribution is installed, and/or the installed version? Or
to check you're not overwriting a file owned by another distribution?
Or would you get any value from storing your own format-specific
metadata files in the egg-info directory?

If all you care about is that setup.py install continues to work, my
suspicion is that PEP 376 won't have much to offer you, whatever
happens.

Paul.


More information about the Python-Dev mailing list