2009/7/6 Paul Moore <p.f.mo...@gmail.com>: > 2009/7/6 P.J. Eby <p...@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. >
Forget about my previous mail, I didn't see that answer, > 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. +1 setuptools is built on the top of distutils, not the contrary. And if setuptools wants to query installed distribution, it will have to be changed to use the query functions added in pkgutil. Tarek _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com