Re: How to delete a Python package



I'd second Skip's point. Now that setup.py does install, and it knows what
to
uninstall (because it copied the files in the first place) I think it's a
good idea
to have "setup.py uninstall" support. :)

<skip@xxxxxxxxx> wrote in message
news:mailman.8093.1152734673.27775.python-list@xxxxxxxxxxxxx

Nick> Uninstall support is hard, you would turn distutils (setup.py)
Nick> into a package management system, but wait...! there are already
Nick> package managers that do exactly that (rpm, deb, Windows
Nick> Installer).

Note that I don't really care about uninstall support, certainly not
enough
to go through the pain of editing distutils. I'd be happy if the
installer
wrote a MANIFEST file that tells me what files and directories it did
install. I'm not as worried about dependencies or overlaps between
packages
as much as making sure that when I want to get rid of package X I can
actually delete all of its files. I also realize that's not truly package
management in the rpm/deb sense, but that would be good enough for me.

My message was simply pointing out that telling people "use RPM or DEB" is
not really acceptable. Not everyone uses Linux. Or Windows. Or Macs.
Python is a cross-platform language. Through distutils it includes a
basic
cross-platform installation facility. It probably ought to also have a
corresponding basic cross-platform uninstall facility.

Skip


.



Relevant Pages

  • Re: ASP.Net 2.0 Uninstall
    ... My original problem is that I cannot uninstall with the control panel. ... That is not the correct install path. ... If the .Net Framework 2.0 isn't listed there, ... The installation package or a needed file could not be opened. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Need help saving computer
    ... > I am trying to clean up and fix my cousin's girlfriend's computer. ... > This machine is a Dell Dimension with an OEM install of XP Home. ... Post-SP2 Windows Firewall Information/guidance: ... How to Manually Uninstall Norton: ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Unable to uninstall 2007
    ... I've been able to uninstall 03 and I ... "This patch could not be opened. ... package exists and that you can access it, ... I tried to download and install ...
    (microsoft.public.officeupdate)
  • Re: RedHat, Fedora future?
    ... > the install as well. ... RPM does provide the uninstall option. ... for a user compiled/installed package the Makefile contains the ...
    (Fedora)
  • Re: VS 2005 Pro Crash
    ... can get a clean re-install if I uninstall again? ... wouldn't install for many weeks. ... Package Load Failure ...
    (microsoft.public.vstudio.general)