[Distutils] SetupTools: The Case Of The Installed Egg
Alexander Michael
lxander.m at gmail.com
Sat Nov 18 18:41:14 CET 2006
In setuptools-0.6c3-py2.4 on win32, installing an egg explicitly
results in the installed egg directory having different case than
installing it with a version requirement. The following example will
explain it more clearly:
$ C\:/Python24/Scripts/easy_install dist/Replicator-0.3-py2.4.egg
Processing Replicator-0.3-py2.4.egg
creating c:\python24\lib\site-packages\Replicator-0.3-py2.4.egg
Extracting Replicator-0.3-py2.4.egg to c:\python24\lib\site-packages
Adding Replicator 0.3 to easy-install.pth file
Installed c:\python24\lib\site-packages\replicator-0.3-py2.4.egg
Processing dependencies for Replicator==0.3
Make note of the "creating" message above and compare with the same below.
$ C\:/Python24/Scripts/easy_install -f dist Replicator==0.3
Searching for Replicator==0.3
Best match: Replicator 0.3
Processing replicator-0.3-py2.4.egg
creating c:\python24\lib\site-packages\replicator-0.3-py2.4.egg
Extracting replicator-0.3-py2.4.egg to c:\python24\lib\site-packages
Adding replicator 0.3 to easy-install.pth file
Installed c:\python24\lib\site-packages\replicator-0.3-py2.4.egg
Processing dependencies for Replicator==0.3
It looks like SetupTools now attempts to lower case everything, but
doesn't in the case of an explicit install. Bug or feature?
Thanks,
Alex
More information about the Distutils-SIG
mailing list