[Catalog-sig] [Distutils] Prototype setuptools-specific PyPI index.

Jim Fulton jim at zope.com
Tue Jul 24 12:11:15 CEST 2007


On Jul 23, 2007, at 5:21 PM, Phillip J. Eby wrote:

> At 11:13 PM 7/23/2007 +0200, Martin v. Löwis wrote:
>>> Yes, especially since compatibility with the existing installation
>>> base requires case insensitivity, because on case-insensitive
>>> platforms easy_install already normalizes the case of filenames it
>>> creates.  So, the question of what the "right thing" to do is in the
>>> abstract has already been moot for a year or two.
>>
>> Can you elaborate a bit, please? Why does the case of filenames
>> matter for the queries it makes?
>>
>> AFAIU, it gets package names either from the user or from setup.py,
>> perhaps also from packages dependency inside .egg files (assuming
>> those support dependencies); these should all be case-sensitive.
>
> In order to resolve dependencies, the system looks at installed .egg
> files and directories (and .egg-info direcories), and extracts
> package name and version info from the filenames.

But the package name and version are in the PKG-INFO files, so it  
certainly has access to non-normalized names.  Why can't it double  
check a possible match against that file?

Jim

--
Jim Fulton			mailto:jim at zope.com		Python Powered!
CTO 				(540) 361-1714			http://www.python.org
Zope Corporation	http://www.zope.com		http://www.zope.org





More information about the Catalog-SIG mailing list