[Distutils] PEP 345, PEP 376, PEP 386

Floris Bruynooghe floris.bruynooghe at gmail.com
Thu Jun 4 15:51:00 CEST 2009


On Thu, Jun 04, 2009 at 01:23:21PM +0100, Paul Moore wrote:
> 2009/6/4 Tarek Ziadé <ziade.tarek at gmail.com>:
> >>> - PEP 376 | status : waiting for Phillip complementary feedback (and
> >>> anyone else of course)
> >>
> >>
> >> I can imagine distutils uninstalling files previously installed by dpkg
> >> as a shortcut to breaking a machine. Though I'm not sure what will
> >> actually happen in practice.
> >
> > Distutils defines a standard for an EGG-INFO structure, and provides a
> > API for the uninstallation that is more likely to be a reference implementation.
> >
> > Although, It is already providing an install feature.
> >
> > If uninstalling a package with Distutils, while it was installed by dpkg breaks,
> >
> > I can imagine that in the very same system, you can also break it
> > if you *install* packages with Distutils, easy_install, pip because
> > you shortcut dpkg
> > as well.

[...]

> I'd say that it's distutils' responsibility not to offer to uninstall
> anything it didn't install.

So then it's up the the system to stop distutils from removing stuff
it installed, i.e. don't install the RECORD files.  No?


Regards
Floris


-- 
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org


More information about the Distutils-SIG mailing list