[Distutils] PEP 376 for Distutils

P.J. Eby pje at telecommunity.com
Tue Feb 24 20:58:37 CET 2009

At 06:21 PM 2/24/2009 +0000, Floris Bruynooghe wrote:
>On Mon, Feb 23, 2009 at 09:53:17PM -0500, P.J. Eby wrote:
> > So, the uninstallation code should simply not remove file(s) that are
> > referenced by more than one manifest in the target directory -- a
> > relatively simple, future-proof safeguard, that doesn't require any
> > specific knowledge of "namespace packages" per se.
>But it does require that the uninstall reads all *.egg-info/RECORD
>files in a site directory when uninstalling.  That's slow, but I guess
>that's fair enough.

You're going to need to look at all the egg-info dirs anyway, at 
least if you're planning to verify whether another installed package 
depends on the package you're removing.

More information about the Distutils-SIG mailing list