[Distutils] Uninstall

Martin Aspeli optilude at gmx.net
Mon Aug 27 01:51:43 CEST 2007


Phillip J. Eby wrote:
> At 12:15 AM 8/27/2007 +0100, Martin Aspeli wrote:
>> Hi all,
>>
>> Someone asked me today, how to uninstall a package that was installed
>> with easy_install. The best I could come up with was, remove the .egg
>> file/directory from site-packages and remove the corresponding line from
>> easy_install.pth. That's pretty lame and error prone.
>>
>> Is there a better way?
> 
> Somewhat better:
> 
> http://peak.telecommunity.com/DevCenter/EasyInstall#uninstalling-packages

So ... that removes it from easy_install.pth, but doesn't remove the 
downloaded .egg file/directory?

Martin

-- 
Acquisition is a jealous mistress



More information about the Distutils-SIG mailing list