[Python-Dev] PEP 376 and PEP 302 - allowing import hooks to provide distribution metadata
Paul Moore
p.f.moore at gmail.com
Mon Jul 6 09:15:05 CEST 2009
2009/7/6 P.J. Eby <pje at telecommunity.com>:
> At 08:43 PM 7/5/2009 +0200, Tarek Ziadé wrote:
>>
>> But if it's based on PEP 302 protocols and if the pkgutil code works
>> with the sys.meta_path hook,
>> setuptools could then provide its loader, based on its EggFormats and
>> act as a provider without being broken.
>
> You misunderstand me. The whole point of putting .egg-info in distutils in
> the first place was to enable setuptools to detect the presence of
> disutils-installed packages. That's what's broken by changing the name.
This implies that there is no possibility that setuptools will be
changed to support the new standard. That's patently false. Whether
you *want* to change setuptools in such a way is up to you. And it's
worth a note in the PEP if this change is made, that it will require a
change to setuptools if that package is still to recognise
distutils-installed packages.
Paul.
More information about the Python-Dev
mailing list