[Distutils] Uninstalling
Paul Prescod
paulp@ActiveState.com
Mon Mar 12 16:25:59 2001
Thomas Heller wrote:
>
> ...
>
> What I mean is: How does the user trigger the uninstall?
> Does he have to keep the setup.py file to trigger it?
I think that uninstall should be just like install. If you installed
from a source distribution you would probably uninstall from the
setup.py. If you installed from a GUI you would probably uninstall from
an equal and opposite GUI. :)
Perhaps under the covers we should store away the setup.py instead of
having my special remove_package.py, but the big problem with that is
that it is extremely difficult to know what files a setup.py depends
upon. We've already found in our binary distributions that this can be a
problem even on install. If you try to handle both install and
uninstall, it gets pretty complicated...I can't think of a solution off
the top of my head...maybe later when I have more time to think.
--
Python:
Programming the way
Guido
indented it.
- (originated with Skip Montanaro?)