Re: [Nix-dev] Re: Python 3

2009-03-24 Thread LluĂ­s Batlle
Hello all, sorry to trigger this thread up again, but I think that the discussion was worth a continuation. I'll try to summarize what I understand: - Peter wants nice expressions for python, to work like most nix c packages do: a derivation for each lib, a derivation for the interpreter, and the

[Nix-dev] Re: Python 3

2009-02-20 Thread Peter Simons
Hi Marc, in e-mail communication, it's easy to be misunderstood, particularly when people talk who don't know each other in person. It's hard to interpret what the other person is saying, because those non-verbal clues that we'd normally have -- facial expression, sound of the voice, etc. -- are l

Re: [Nix-dev] Re: Python 3

2009-02-20 Thread Marc Weber
On Fri, Feb 20, 2009 at 01:42:22PM +0100, Peter Simons wrote: > Hi Marc, > > >> (b) Patch libA to extend "sys.path" as required before trying to import > >> libB. It's not pretty -- particularly if libA consists of a large > >> number of individual files --, but it does solve the pro

[Nix-dev] Re: Python 3

2009-02-20 Thread Peter Simons
Hi Marc, >> (b) Patch libA to extend "sys.path" as required before trying to import >> libB. It's not pretty -- particularly if libA consists of a large >> number of individual files --, but it does solve the problem and >> requires no user action whatsoever. > > Than we do h

Re: [Nix-dev] Re: Python 3

2009-02-20 Thread Marc Weber
On Fri, Feb 20, 2009 at 11:26:47AM +0100, Peter Simons wrote: > Hi Marc, > > did you read my last posting? I would love to know what you think about > the dependency handling approach I described in January [1]; here is the > relevant snippet for your convenience: > > > > > (b) Patch libA to e

[Nix-dev] Re: Python 3

2009-02-20 Thread Peter Simons
Hi Marc, did you read my last posting? I would love to know what you think about the dependency handling approach I described in January [1]; here is the relevant snippet for your convenience: >> libA requires libB. If you install libA into ~/.nix-profile/ it will >> be broken. > > I can thin

[Nix-dev] Re: Python 3

2009-02-19 Thread Peter Simons
Hi Marc, >> Can your new-and-improved python expression support [install Python >> 2.5 and 3.0.1 simultaneously]? > > How should it look like? I mean you can install to different profiles > and you're fine. Yes, I know, but how does your expression support installing different versions of Py

Re: [Nix-dev] Re: Python 3

2009-02-19 Thread Marc Weber
On Wed, Feb 18, 2009 at 08:23:45PM +0100, Peter Simons wrote: > Hi Marc, > > >> We have two different expressions for Python 2.5 in Nix. That state > >> is not a particularly satisfactory. > > > > My view on this: I'm using composableDerivation. [...] > > well, for me personally that is an im

[Nix-dev] Re: Python 3

2009-02-18 Thread Peter Simons
Hi Marc, >> We have two different expressions for Python 2.5 in Nix. That state >> is not a particularly satisfactory. > > My view on this: I'm using composableDerivation. [...] well, for me personally that is an implementation detail that I don't care about much; I care for having a working

Re: [Nix-dev] Re: Python 3

2009-02-18 Thread Marc Weber
On Wed, Feb 18, 2009 at 01:02:58PM +0100, Peter Simons wrote: > Hi Marc, > > > What is Python 3 ? > > it's the latest release of Python -- version 3.0.1, to be accurate. > > > I "stalled" cause everything worked I had need for. > > Well, but as it is, we have two different expressions for Pyt

[Nix-dev] Re: Python 3

2009-02-18 Thread Peter Simons
Hi Marc, > What is Python 3 ? it's the latest release of Python -- version 3.0.1, to be accurate. > I "stalled" cause everything worked I had need for. Well, but as it is, we have two different expressions for Python 2.5 in Nix. That state is not a particularly satisfactory. > Maybe you sho