[Python-Dev] PEP 376 and PEP 302 - allowing import hooks to provide distribution metadata
P.J. Eby
pje at telecommunity.com
Mon Jul 6 19:40:31 CEST 2009
At 07:18 PM 7/6/2009 +0200, Tarek Ziadé wrote:
> >> So is PEP 376 going to be able to cope with the stuff I have installed
> >> at the moment? If not, what's the point???
> >
> > If I understand Tarek's proposal correctly, then no, it will not cope.
>
>Why that ? Can you detail ? On a system that uses only plain distutils
>distributions, it'll work.
Paul's question, as I understood it, was whether pkgutil would handle
the existing .egg-info's. Your proposal, as I understood it, was
that pkgutil would not detect .egg-info's without a plugin of some
sort... and you've not proposed a way of loading such a thing, which
means that to use pkgutil with that plugin, an application would have
to know that the plugin exists and import it.
Unless you're planning to have a plugin registration facility (ala
entry points) so that plugins can be used without each application
needing to discover them on its own?
More information about the Python-Dev
mailing list