Re: How to delete a Python package



Skip,
I agree. Some kind of a manifest or log file would be great and
probably not that hard to implement.
Nick


skip@xxxxxxxxx wrote:
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: eclipse-pydev: New upstream release 1.3.13 avaible
    ... [general package management] ... I strongly disagree with having maven listed in a row with apt and rpm ... lot of internal java dev teams I know of still deal with dependencies by ... other package needs a newer version. ...
    (Ubuntu)
  • Re: the art of pkgdb -F
    ... Pkgdb -F" ... Maybe you should qualify and say "I would have expected a *perfect* package management system to...." ... However, ports get moved, dropped, re-named, re-categorized and so on ...
    (freebsd-questions)
  • Code duplication and component-based distributions (was: Problem in debugging GPS)
    ... I meant that I avoid both source and object code duplication. ... the read-only ALI files in the -dev package ... On OSs that do not provide good package management, ...
    (comp.lang.ada)
  • Re: FC8 : segfault with many network program
    ... package: yum nor rpm work without ending on a segfault. ... in the package management system. ... Your mistake is thinking because the error shows up as a segfault, ...
    (comp.os.linux.misc)
  • Re: Greetings and a minor rave!!
    ... then run dpkg on each package in the right order). ... I read a good paper last week on Debian. ... but miss on the policy aspect and soon ... I link package management with the policy. ...
    (Debian-User)