[Distutils] SetupTools: What Files Were Installed?

Phillip J. Eby pje at telecommunity.com
Mon Dec 11 17:41:49 CET 2006


At 11:34 AM 12/11/2006 -0500, Alexander Michael wrote:
>It sounds like it is safe to assume 1, but that 2 is indeterminate (as
>easy_install does not leave it's own trace about the user overrides at
>the time of installation).

It's indeterminate, but verifiable.  That is, you can simply look at PATH 
or other such directories and tell whether a given script came from the egg.


>  The result being that there is no generic
>mechanism to find the files that need to be deleted in order to
>uninstall a package without resorting to requiring that the package
>was installed with --record=FILENAME.

Right; the "nest" command framework will have a mechanism to deal with 
this; nests will know what files they've installed, and nest will provide 
complete package management facilities for the files involved.



More information about the Distutils-SIG mailing list