[Distutils] Upgrade a package

Phillip J. Eby pje at telecommunity.com
Sat Dec 17 16:52:38 CET 2005


At 01:24 PM 12/17/2005 +0000, Sharky On PTNet wrote:
>Hi,
>
>Every time I do an 'easy_install -U ...' for a package, it installs ok but 
>remain with the old package in site-packages.
>
>Is there a way do remove old packages?

See:

http://peak.telecommunity.com/DevCenter/EasyInstall#uninstalling-packages

This will get better in the 0.7 series, when the "nest" command gets 
implemented.  "nest" will have a variety of subcommands including ones to 
remove a particular egg and to get rid of unused eggs ("nest rm" and "nest 
purge").  It will also have commands for commonly-used combinations of 
easy_install options, as easy_install has grown way too many options at 
this point.



More information about the Distutils-SIG mailing list