Re: [Distutils] Uninstall command

2009-02-15 Thread Floris Bruynooghe
On Sun, Feb 15, 2009 at 10:39:48AM +0100, Tarek Ziadé wrote: > 1. should the uninstall command be part of the Python interpreter > itself ? Don't think I like this. Seems a very big jump from how this normally works. What I mean is that it feels like it's builtin interperter functionality, while

[Distutils] Uninstall command

2009-02-15 Thread Tarek Ziadé
Hi, I started to write a detailed description of the uninstall feature based on the previous threads we had, and there are two points I'd like to discuss: 1. should the uninstall command be part of the Python interpreter itself ? for instance, be callable like this : $ python

Re: [Distutils] Uninstall command, the return

2009-02-01 Thread zooko
On Jan 31, 2009, at 23:17 PM, David Cournapeau wrote: There are two problems with stow and setuptools: - setuptools refuses to install in a directory not in PYTHONPATH, so python setup.py install --prefix=/usr/local/stow/my- package does not work when setup.py uses setuptools. You have to

Re: [Distutils] Uninstall command, the return

2009-01-31 Thread David Cournapeau
Lennart Regebro wrote: > On Sat, Jan 31, 2009 at 23:21, zooko wrote: > >> Many other people, however, are unwilling to let the Python packaging tool >> nor the packages that it is installing write into their system directories. >> For these people, the system directories are never allowed to b

Re: [Distutils] Uninstall command, the return

2009-01-31 Thread Lennart Regebro
On Sat, Jan 31, 2009 at 23:21, zooko wrote: > Many other people, however, are unwilling to let the Python packaging tool > nor the packages that it is installing write into their system directories. > For these people, the system directories are never allowed to be written > into by any tool othe

Re: [Distutils] Uninstall command, the return

2009-01-31 Thread zooko
On Jan 29, 2009, at 17:49 PM, Tarek Ziadé wrote: Many people are asking for an uninstall command. This is true. Many other people, however, are unwilling to let the Python packaging tool nor the packages that it is installing write into their system directories. For these people, the sys

Re: [Distutils] Uninstall command, the return

2009-01-30 Thread Tarek Ziadé
On Fri, Jan 30, 2009 at 4:41 PM, P.J. Eby wrote: > At 12:17 PM 1/30/2009 +0100, Tarek Ziadé wrote: >> >> this code is still incomplete, I am waiting for PJE feedback to add >> the support for zip files that contains >> several .egg folders or zip files. But the current version is able to >> find a

Re: [Distutils] Uninstall command, the return

2009-01-30 Thread P.J. Eby
At 12:17 PM 1/30/2009 +0100, Tarek Ziadé wrote: this code is still incomplete, I am waiting for PJE feedback to add the support for zip files that contains several .egg folders or zip files. But the current version is able to find a package and its metadata. What feedback are you waiting for?

Re: [Distutils] Uninstall command, the return

2009-01-30 Thread David Cournapeau
gt; different ways to deal with > those problems. > 100 % agreed. My remark was just that uninstalling may require asking some questions to the user depending on the system state, so a distutils uninstall command at the UI level may not be advi

Re: [Distutils] Uninstall command, the return

2009-01-30 Thread Tarek Ziadé
On Fri, Jan 30, 2009 at 10:28 AM, David Cournapeau wrote: > > I can see several things which have a big impact on an uninstall feature > design: >- how to handle multiple versions of one package ? >- should it handle dependencies ? from a distutils point of view, none of these features ex

Re: [Distutils] Uninstall command, the return

2009-01-30 Thread David Cournapeau
Tarek Ziadé wrote: > Reading your answer and Chris's, I am now wondering, if we have a > global uninstall command, > why we wouldn't have a global install command > > How hard would it be, from your projects, to have the > install/uninstall feature, on the top > of today's distutils ? (since th

Re: [Distutils] Uninstall command, the return

2009-01-30 Thread Tarek Ziadé
Reading your answer and Chris's, I am now wondering, if we have a global uninstall command, why we wouldn't have a global install command How hard would it be, from your projects, to have the install/uninstall feature, on the top of today's distutils ? (since the record feature is in distutils

Re: [Distutils] Uninstall command, the return

2009-01-29 Thread Thomas Heller
Ian Bicking schrieb: > On Thu, Jan 29, 2009 at 6:49 PM, Tarek Ziadé wrote: > >> Next, (in a second step) I was wondering if a uninstall registery >> could not be a good thing to have, >> to store a record of the installed files so there's no need to keep >> the source for uninstallation. >> This

Re: [Distutils] Uninstall command, the return

2009-01-29 Thread Ian Bicking
On Thu, Jan 29, 2009 at 6:49 PM, Tarek Ziadé wrote: > Next, (in a second step) I was wondering if a uninstall registery > could not be a good thing to have, > to store a record of the installed files so there's no need to keep > the source for uninstallation. > This would required a new command,

Re: [Distutils] Uninstall command, the return

2009-01-29 Thread Chris Galvan
Enthought has a package called Enstaller which includes a modified version of setuptools + an enstaller package that adds some different functionality. One of the modifications to setuptools adds an uninstall command which works well with our .egg's. Dealing with eggs allows us to do some dep

[Distutils] Uninstall command, the return

2009-01-29 Thread Tarek Ziadé
Hello Many people are asking for an uninstall command. While there are possible side-effects when removing all installed files, I think it worths it... I would like to introduce an uninstall command in distutils, using Marc-André Lemburg's mxSetup tool (see http://www.egenix.com/products/python/m