Re: [Distutils] desirability of multiple, divergent Python instances

2008-04-13 Thread Daniel Krech
On Apr 14, 2008, at 12:59 AM, Stephen Waterbury wrote: > Ben Finney wrote: >> Greg Ewing <[EMAIL PROTECTED]> writes: >> >>> Gael Varoquaux wrote: a second Python needs to be installed on top of the system Python to add modules to it. >>> Maybe the system should come with two pythons inst

Re: [Distutils] desirability of multiple, divergent Python instances

2008-04-13 Thread Stephen Waterbury
Stephen Waterbury wrote: > Have you read my proposal? It's in the message posted by me to this > thread at 12:31 PM today. That's not a good way to reference it, of course, so here it is: Definitions: "system Python" -- the Python (and its site-pkgs, etc.) that any Python scripts used by the OS

Re: [Distutils] desirability of multiple, divergent Python instances

2008-04-13 Thread Stephen Waterbury
Ben Finney wrote: > Greg Ewing <[EMAIL PROTECTED]> writes: > >> Gael Varoquaux wrote: >>> a second Python needs to be installed on top of the system Python >>> to add modules to it. >> Maybe the system should come with two pythons installed, one for use >> by the system and the other for users to

[Distutils] desirability of multiple, divergent Python instances (was: shebang line modified by setuptools)

2008-04-13 Thread Ben Finney
Greg Ewing <[EMAIL PROTECTED]> writes: > Gael Varoquaux wrote: > > a second Python needs to be installed on top of the system Python > > to add modules to it. > > Maybe the system should come with two pythons installed, one for use > by the system and the other for users to add things to. Or at l

Re: [Distutils] how to easily consume just the parts of eggs that are good for you

2008-04-13 Thread Greg Ewing
David Cournapeau wrote: > There are two ways of looking at it, I think. One is to think that linux > FHS (and unix in general) is totally broken. I don't think it's *totally* broken. I do think it goes overboard with splitting things up and scattering them around. I understand that there are reas

Re: [Distutils] how to easily consume just the parts of eggs that are good for you

2008-04-13 Thread Greg Ewing
John J Lee wrote: > If you have a network connection, about the only reason for not wanting > an app to be "installed" is that it has changed the behaviour of your > system somehow, just by being in the "installed" state. If you have a continuous high-speed network connection and aren't concerne

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Stephen Waterbury
Greg Ewing wrote: > Gael Varoquaux wrote: >> a second Python >> needs to be installed on top of the system Python to add modules to it. > > Maybe the system should come with two pythons installed, > one for use by the system and the other for users to add > things to. Or at least be set up so that

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Greg Ewing
Gael Varoquaux wrote: > a second Python > needs to be installed on top of the system Python to add modules to it. Maybe the system should come with two pythons installed, one for use by the system and the other for users to add things to. Or at least be set up so that it appears that way -- they m

Re: [Distutils] how to easily consume just the parts of eggs that are good for you

2008-04-13 Thread David Cournapeau
Greg Ewing wrote: > > That looks interesting, but I'm not sure I'd quite > call it "something like". It looks like another case > of adding more complexity to fight existing complexity, > rather than removing the original complexity. > You won't be able to remove the initial complexity, because it

Re: [Distutils] how to easily consume just the parts of eggs that are good for you

2008-04-13 Thread David Cournapeau
Gael Varoquaux wrote: > > 90 % (at least) of the world does not have such database. I, and probably > you, have such a very nice database. I works well, and we can choose to > forget the problems our users are facing. It does not solve them though. > > In addition, packaging is system-specific. I r

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Phillip J. Eby
At 11:24 PM 4/13/2008 +0200, Gael Varoquaux wrote: >Here is how things are happening (I simplified a bit the example, because >I have a lot of things in my sys.path): > >[EMAIL PROTECTED]:~$ python -c "import sys; print sys.path" >['', '/usr/local/lib/python2.5/site-packages/configobj-4.4.0-py2.5.e

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Gael Varoquaux
On Sun, Apr 13, 2008 at 05:12:48PM -0400, Phillip J. Eby wrote: > However, now that it's a known bug, it's merely an engineering problem to > fix it. :) Fantastic! I thought it was a feature, so I was unhappy, but if it's only a bug, well, I know too well that these things happen, and if nobody

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Phillip J. Eby
At 08:26 PM 4/13/2008 +0200, Gael Varoquaux wrote: >On Sun, Apr 13, 2008 at 02:04:56PM -0400, Phillip J. Eby wrote: > > At 05:29 PM 4/13/2008 +0200, Gael Varoquaux wrote: > >> Of course setuptools will > >> break this, because it adds itsef to front of the PYTHONPATH, and totally > >> break the PYT

[Distutils] [issue7] Test 1

2008-04-13 Thread Martin v. Löwis
New submission from Martin v. Löwis <[EMAIL PROTECTED]>: Testing the installation -- messages: 7 nosy: loewis priority: bug status: unread title: Test 1 ___ Setuptools tracker <[EMAIL PROTECTED]>

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Gael Varoquaux
On Sun, Apr 13, 2008 at 02:04:56PM -0400, Phillip J. Eby wrote: > At 05:29 PM 4/13/2008 +0200, Gael Varoquaux wrote: >> Of course setuptools will >> break this, because it adds itsef to front of the PYTHONPATH, and totally >> break the PYTHONPATH semantics (Grrr). > > The entire point of PYTHONPATH

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Phillip J. Eby
At 05:29 PM 4/13/2008 +0200, Gael Varoquaux wrote: >Of course setuptools will >break this, because it adds itsef to front of the PYTHONPATH, and totally >break the PYTHONPATH semantics (Grrr). The entire point of PYTHONPATH is to be able to put things at the front of it, so I don't see how that's

Re: [Distutils] how to easily consume just the parts of eggs that are good for you

2008-04-13 Thread John J Lee
On Sun, 13 Apr 2008, Greg Ewing wrote: > John J Lee wrote: > >> It allows you to think about "uninstallation" as "delete the app == delete >> the file" > > But 0install doesn't do that, as far as I can tell -- it > still keeps the data in some mysterious form and location > known only to itself,

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Floris Bruynooghe
On Sat, Apr 12, 2008 at 03:26:52PM -0700, Cliff Wells wrote: > > On Sat, 2008-04-12 at 17:53 -0400, Phillip J. Eby wrote: > > At 12:30 PM 4/12/2008 -0700, Cliff Wells wrote: > > >PATH is *supposed* to affect applications. > > > > It affects which application you should run, not which interpreter

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Apr 13, 2008, at 11:03 AM, Stephen Waterbury wrote: > Gael Varoquaux wrote: >> On Sun, Apr 13, 2008 at 07:59:21AM -0400, Barry Warsaw wrote: >>> On Apr 12, 2008, at 9:41 PM, Stephen Waterbury wrote: >> I used to always set up my own Python[s] i

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Apr 13, 2008, at 10:45 AM, Stephen Waterbury wrote: > Yes, your luck holds -- as does mine, for now ... but since Barry > works for Canonical (besides being Python's new Release Manager), > he has a civic responsibility to report Ubuntu Python bugs

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Gael Varoquaux
On Sun, Apr 13, 2008 at 12:31:08PM -0400, Stephen Waterbury wrote: > What I am proposing: > 1) the OS comes with its own "system Python", which is installed > not as the "python" package, but as some OS-required package > (maybe call it "system-python" or something) and it goes into > /usr/system

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Apr 13, 2008, at 8:04 AM, Gael Varoquaux wrote: > On Sun, Apr 13, 2008 at 07:59:21AM -0400, Barry Warsaw wrote: >> On Apr 12, 2008, at 9:41 PM, Stephen Waterbury wrote: > >>> I used to always set up my own Python[s] in /usr/local >>> and put that fi

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Stephen Waterbury
Stephen Waterbury wrote: Oops, my email client doesn't detect unbalanced parens -- typo here (what I get for too-complicated paren/double-dash-mixing ;): > optionally install, and which go into /usr. And the system package > manager -- e.g., apt on Debian/Ubuntu systems) would have all its usual

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Stephen Waterbury
Gael Varoquaux wrote: > On Sun, Apr 13, 2008 at 11:16:57AM -0400, Stephen Waterbury wrote: >>> On Debian and derivatives (e.g. Ubuntu) you might have even more fun. >>> They put /usr/local/lib/pythonX.Y/site-packages on the sys.path *of the >>> system python*! This means that you can break your

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Gael Varoquaux
On Sun, Apr 13, 2008 at 11:16:57AM -0400, Stephen Waterbury wrote: > > On Debian and derivatives (e.g. Ubuntu) you might have even more fun. > > They put /usr/local/lib/pythonX.Y/site-packages on the sys.path *of the > > system python*! This means that you can break your system Python by > > i

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Stephen Waterbury
Barry Warsaw wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Apr 12, 2008, at 9:41 PM, Stephen Waterbury wrote: >> >> I used to always set up my own Python[s] in /usr/local >> and put that first in my PATH, but I have gotten lazy lately, and >> sometimes it will bite me. ;) > > On

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Stephen Waterbury
Gael Varoquaux wrote: > On Sun, Apr 13, 2008 at 07:59:21AM -0400, Barry Warsaw wrote: >> On Apr 12, 2008, at 9:41 PM, Stephen Waterbury wrote: > >>> I used to always set up my own Python[s] in /usr/local >>> and put that first in my PATH, but I have gotten lazy lately, and >>> sometimes it will bi

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Stephen Waterbury
Gael Varoquaux wrote: > On Sat, Apr 12, 2008 at 09:41:08PM -0400, Stephen Waterbury wrote: >>> These are all broken and you should report bugs on them. I have >>> reported many for Ubuntu. A system application should only ever >>> depend on the system Python (or interpreter), never on the whi

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Apr 13, 2008, at 5:50 AM, Gael Varoquaux wrote: > On Sat, Apr 12, 2008 at 09:41:08PM -0400, Stephen Waterbury wrote: >>> These are all broken and you should report bugs on them. I have >>> reported many for Ubuntu. A system application should only

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Gael Varoquaux
On Sun, Apr 13, 2008 at 07:59:21AM -0400, Barry Warsaw wrote: > On Apr 12, 2008, at 9:41 PM, Stephen Waterbury wrote: > > I used to always set up my own Python[s] in /usr/local > > and put that first in my PATH, but I have gotten lazy lately, and > > sometimes it will bite me. ;) > On Debian and

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Apr 12, 2008, at 9:41 PM, Stephen Waterbury wrote: > > I used to always set up my own Python[s] in /usr/local > and put that first in my PATH, but I have gotten lazy lately, and > sometimes it will bite me. ;) On Debian and derivatives (e.g. Ubuntu

Re: [Distutils] shebang line modified by setuptools

2008-04-13 Thread Gael Varoquaux
On Sat, Apr 12, 2008 at 09:41:08PM -0400, Stephen Waterbury wrote: > > These are all broken and you should report bugs on them. I have > > reported many for Ubuntu. A system application should only ever > > depend on the system Python (or interpreter), never on the whims of > > your $PATH.