ez_setup.py -U setuptools does TWO downloads, TWO installs
Is this usual? The ez_setup.py is fresh off the setuptools website. Environment: Python 2.5; Windows XP Pro SP2 Console log follows. Cheers, John ====================================================================== C:\sw\setuptools>\python25\python ez_setup.py -U setuptools Downloading http://cheeseshop.python.org/packages/2.5/s/setuptools/setuptools-0.6c5-py2.... Searching for setuptools Reading http://www.python.org/pypi/setuptools/ Reading http://cheeseshop.python.org/pypi/setuptools Reading http://www.python.org/pypi/setuptools/0.6c5 Best match: setuptools 0.6c5 Downloading http://cheeseshop.python.org/packages/2.5/s/setuptools/setuptools-0.6c5-py2.... Processing setuptools-0.6c5-py2.5.egg Moving setuptools-0.6c5-py2.5.egg to c:\python25\lib\site-packages Removing setuptools 0.6c3 from easy-install.pth file Adding setuptools 0.6c5 to easy-install.pth file Installing easy_install-script.py script to C:\python25\Scripts Installing easy_install.exe script to C:\python25\Scripts Installing easy_install-2.5-script.py script to C:\python25\Scripts Installing easy_install-2.5.exe script to C:\python25\Scripts Installed c:\python25\lib\site-packages\setuptools-0.6c5-py2.5.egg Processing dependencies for setuptools Processing setuptools-0.6c5-py2.5.egg Removing c:\python25\lib\site-packages\setuptools-0.6c5-py2.5.egg Copying setuptools-0.6c5-py2.5.egg to c:\python25\lib\site-packages setuptools 0.6c5 is already the active version in easy-install.pth Installing easy_install-script.py script to C:\python25\Scripts Installing easy_install.exe script to C:\python25\Scripts Installing easy_install-2.5-script.py script to C:\python25\Scripts Installing easy_install-2.5.exe script to C:\python25\Scripts Installed c:\python25\lib\site-packages\setuptools-0.6c5-py2.5.egg Processing dependencies for setuptools==0.6c5 C:\sw\setuptools>
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.
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 *was* upgrading: """Removing setuptools 0.6c3 from easy-install.pth file"""
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 *was* upgrading:
"""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 one install/download. 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.
On 11/02/2007 4:46 PM, Phillip J. Eby wrote:
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 *was* upgrading:
"""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 one install/download.
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.
Perhaps so, but my recollection is that didn't work that way last time: the very first ez_setup.py chucked a wobbly when I tried to use it to update setuptools :-)
participants (2)
-
John Machin
-
Phillip J. Eby