[Distutils] small distribute improvement

Lennart Regebro regebro at gmail.com
Fri Oct 16 14:12:13 CEST 2009


2009/10/16 Neal Becker <ndbecker2 at gmail.com>:
> I think it is confusing that
> easy_install blah
>
> doesn't do anything, and doesn't provide any clue, if it was to do an
> update.

"Was to do"? It doesn't know that there is an update available, unless
you ask it to check. It does tell you that it's already installed.

> There are a few choices here.  One might be that
> easy_install blah
> could notify you that an update is available.

That means that anytime you call easy_install it goes out on the net
and asks, even if the product already is installed. It's a
possibility, but I'm not convinced it's a good one.

> Personally, my preference would be to just do the update.

That, I'm convinced is a bad idea. There may be a good reason for why
the last version is not installed, such as something else you have
installed requiring that version.

> Or, at least offer to if run interactively.

What I can buy is an option to check, and ask if and upgrade should be done.
-U will install the latest without asking, that may not be what you want.

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64


More information about the Distutils-SIG mailing list