[Distutils] Uninstall

Alexander Michael lxander.m at gmail.com
Mon Aug 27 23:51:52 CEST 2007

On 8/27/07, Martin Aspeli <optilude at gmx.net> wrote:
> Maybe easy_install should also record these things during installation?

Personally, I think that would be helpful. I can think of three
candidate places that might make sense:

1) right next to the egg as a pkg-1.0-py2.4.egg-record or something...
2) inside the installed egg as part of the egg-info as an
installed_files.txt or some such...
3) in a "receipts" directory inside the install-dir

The record would only be needed to allow uninstalling (so the std lib
wouldn't need it).

> I'm sure there are lots of use cases here, and I understand it gets
> tricky with dependencies, but at the most basic level, I've seen several
> people hose their Python installs or workingenvs with incompatible eggs
> that they then try to remove.

Yep. Especially on the bleeding edge of development...

More information about the Distutils-SIG mailing list