[Python-Dev] How we can get rid of eggs for 2.6 and beyond

skip at pobox.com skip at pobox.com
Fri Mar 21 17:21:49 CET 2008


    Joachim> I think, the uninstall should _not_ 'rm -rf' but only 'rm' the
    Joachim> files (and 'rmdir' directories, but not recursively) that it
    Joachim> created, and that have not been modified in the meantime (after
    Joachim> the installation). 

That's not sufficient.  Suppose file C (e.g. /usr/local/etc/mime.types) is
in both packages A and B.

    Install A - this will create C
    Install B - this might overwrite C, saving a copy, or it might retain
                A's copy.
    Uninstall B - this has to know that C is used by A and not touch it

Skip


More information about the Python-Dev mailing list