Re: [Distutils] Simple idea to resolve versioning problems

2008-04-14 Thread David Cournapeau
Cliff Wells wrote: > > I think the convention is major.minor where minor releases are > backwards-compatible and major releases aren't expected to be (but might > be). > AFAIK, that's the general rule, but python itself does not respect this convention, so I don't see this happening for pyth

Re: [Distutils] Simple idea to resolve versioning problems

2008-04-14 Thread Cliff Wells
On Tue, 2008-04-15 at 13:01 +1200, Greg Ewing wrote: > David Cournapeau wrote: > > what is needed is a stable API for the used packages. > > That's a nice ideal to aim for, but it's only achievable > for old and mature packages. I don't think so. It requires vigil on the part of the maintainer,

[Distutils] [Enthought-dev] Installation woes - again..

2008-04-14 Thread Hans Meine
Hi, Dave P. has recently cross-posted here a mail from the enthought-dev thread I started, in which I describe serious problems installing the ETS with easy_install: https://mail.enthought.com/pipermail/enthought-dev/2008-April/013913.html I have tried setuptools 0.6_rc8 as distributed with Ge

Re: [Distutils] Simple idea to resolve versioning problems

2008-04-14 Thread David Cournapeau
Greg Ewing wrote: > David Cournapeau wrote: >> what is needed is a stable API for the used packages. > > That's a nice ideal to aim for, but it's only achievable > for old and mature packages. > Yes, many packages can't have a stable API, at least for some time. But then, should you rely on them

[Distutils] Simple idea to resolve versioning problems

2008-04-14 Thread Greg Ewing
David Cournapeau wrote: > what is needed is a stable API for the used packages. That's a nice ideal to aim for, but it's only achievable for old and mature packages. One could change the package name every time the API changes, but then *any* change to the API would make the package unusable by a

Re: [Distutils] shebang line modified by setuptools

2008-04-14 Thread Greg Ewing
Gael Varoquaux wrote: > On Mon, Apr 14, 2008 at 01:30:14PM +1200, Greg Ewing wrote: > > > Maybe the system should come with two pythons installed, > > What you propose resembles very much to what MacOSX does... I see on the > different scientific-Python-related mailing lists how users have > diffi

[Distutils] shebang line modified by setuptools

2008-04-14 Thread Cliff Wells
Sorry for breaking up the thread. I wasn't subscribed to the list (now I am) and apparently I stopped being CC'd at some point, so I'll have to sum up several things and address them here. 1) I agree that "system" scripts should use the "system" python (whatever that is defined to mean - for now

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

2008-04-14 Thread John J Lee
On Mon, 14 Apr 2008, Greg Ewing wrote: > 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 hi

Re: [Distutils] shebang line modified by setuptools

2008-04-14 Thread Floris Bruynooghe
On Mon, Apr 14, 2008 at 08:59:32PM +0200, Jan Matejek wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Barry Warsaw napsal(a): > | 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, St

Re: [Distutils] shebang line modified by setuptools

2008-04-14 Thread Jan Matejek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry Warsaw napsal(a): | 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 /us

Re: [Distutils] virtual env with exec prefix

2008-04-14 Thread Ian Bicking
Hans Meine wrote: > Hi Ian, > > recently I reported this problem to you: >> [...] here at our university, python (as >> well as hundreds of other software packages) is installed in a shared NFS >> tree with a clear separation of --prefix and --exec-prefix, i.e. all >> platform-specific stuff goes

Re: [Distutils] virtual env with exec prefix

2008-04-14 Thread Hans Meine
Am Montag, 14. April 2008 18:32:39 schrieb Hans Meine: > > error: invalid Python installation: unable to > > open /software/python-2.4.4/lib/python2.4/config/Makefile (No such file > > or directory) I have found and fixed this bug; it's because virtualenv overwrites distutils.sysconfig.get_pyth

Re: [Distutils] shebang line modified by setuptools

2008-04-14 Thread Floris Bruynooghe
On Mon, Apr 14, 2008 at 12:10:03PM +0200, Gael Varoquaux wrote: > I think this discussion is really going on because Python does not have > good library-versioning support. What it needs is to get this +1 ___ Distutils-SIG maillist - Distutils-SIG@pyth

Re: [Distutils] virtual env with exec prefix

2008-04-14 Thread Hans Meine
Hi Ian, recently I reported this problem to you: > [...] here at our university, python (as > well as hundreds of other software packages) is installed in a shared NFS > tree with a clear separation of --prefix and --exec-prefix, i.e. all > platform-specific stuff goes into the according subdirect

Re: [Distutils] Distutils-SIG Digest, Vol 60, Issue 29

2008-04-14 Thread Stanley A. Klein
On Mon, April 14, 2008 1:37 am, [EMAIL PROTECTED] wrote: > Message: 4 > Date: Mon, 14 Apr 2008 14:16:13 +1200 > From: Greg Ewing <[EMAIL PROTECTED]> > Subject: Re: [Distutils] how to easily consume just the parts of eggs > that are good for you > To: distutils-sig@python.org > > David Courn

Re: [Distutils] shebang line modified by setuptools

2008-04-14 Thread Dave Peterson
Gael Varoquaux wrote: On Mon, Apr 14, 2008 at 01:30:14PM +1200, 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

Re: [Distutils] shebang line modified by setuptools

2008-04-14 Thread David Cournapeau
Gael Varoquaux wrote: > > > I think this discussion is really going on because Python does not have > good library-versioning support. I personally think that the very idea to have several side by side versions of the same package is doomed to failure: what is needed is a stable API for the used

Re: [Distutils] shebang line modified by setuptools

2008-04-14 Thread Gael Varoquaux
On Mon, Apr 14, 2008 at 01:30:14PM +1200, 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