On 7/24/07, Phillip J. Eby <pje@telecommunity.com> wrote:
At 08:54 PM 7/24/2007 +0200, Martin v. Löwis wrote:
Right. However, if setuptools would stop making case insensitive lookups to the index, lookups to unregistered packages would become more efficient.
I'm not sure I follow you. If a non-registered package is used as a dependency, the setup() will need to specify dependency_links, in which case PyPI will not be consulted.
Ah, ok. So is it then correct that setuptools never looks at pypi/, unless the user misspelled a package name on the command line?
Pretty much, yes.
Would it be a bad idea to suggest the case insensitive lookup happen against a local flat file that gets diff'd from PyPI? Then only the culprit gets punished using their own CPU :)