[Distutils] ez_setup.py -U setuptools does TWO downloads, TWO installs
Phillip J. Eby
pje at telecommunity.com
Sun Feb 11 06:46:36 CET 2007
At 04:02 PM 2/11/2007 +1100, John Machin wrote:
>On 11/02/2007 3:41 PM, Phillip J. Eby wrote:
>>At 12:59 PM 2/11/2007 +1100, John Machin wrote:
>>>Is this usual?
>>Yes. ez_setup.py is a front-end to easy_install, that happens to also
>>download and install the latest version of setuptools. If you want to
>>just install the latest version of setuptools, the '-U setuptools' is
>>redundant, unless you already have setuptools installed and want to update it.
>Can we try again, please? Refer to the console log that I included. It
>"""Removing setuptools 0.6c3 from easy-install.pth file"""
Yes, but you were upgrading using a NEW version of ez_setup.py. If you'd
used the already-present ez_setup.py (from when you installed 0.6c3), OR
used the new ez_setup.py without the -U setuptools, you'd have only gotten
Running ez_setup.py simply attempts to download and install the version
that it wants. Then it runs easy_install with any supplied command-line
arguments. Thus, passing "-U setuptools" to a *new* ez_setup.py is redundant.
More information about the Distutils-SIG