Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Robert Kern
On Fri, Feb 11, 2011 at 13:47, Barry Warsaw wrote: > The downside is that it probably means Ubuntu would more or less permanently > diverge from Debian for numpy, which would be unfortunate for many reasons.  I > can certainly appreciate that from both upstream's and Debian's perspective, > nothi

Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Barry Warsaw
On Feb 11, 2011, at 12:06 PM, Bruce Southey wrote: >If Ubuntu's different repositories are a problem then that is Ubuntu's >own fault for putting the numpy and matplotlib in different repositories >(that applies to other distros as well). Clearly someone did not do >their homework before doing

Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Barry Warsaw
On Feb 11, 2011, at 05:50 PM, Pauli Virtanen wrote: >The point is that the Ubuntu build servers cannot build the >documentation, because matplotlib is not available at build time. (First, >because matplotlib depends circularly on Numpy, and second, since by >policy Numpy build cannot depend on

Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Barry Warsaw
On Feb 11, 2011, at 06:45 PM, Sandro Tosi wrote: >On Fri, Feb 11, 2011 at 16:40, Barry Warsaw wrote: >> For Debian, we'd simply take those two separate source packages and split the >> binary packages among them as appropriate. > >excuse me? I don't like this solution, or are you going to do all

[Numpy-discussion] ANN: carray 0.4 released

2011-02-11 Thread Francesc Alted
Hi, A new release of my new toy project is out. Enjoy! Announcing carray 0.4 = What's new -- The most prominent feature in 0.4 is the support of multidimensional carrays. Than means that, for example, you can do:: >>> a = ca.arange(6).reshape((2,3)) Now, you

Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Pauli Virtanen
Fri, 11 Feb 2011 12:06:42 -0600, Bruce Southey wrote: [clip: numpy/doc/*] > But that directory is still not sufficient for having the documentation > alone. It is, given a build-time dependency on the main Numpy package. Pauli ___ NumPy-Discuss

Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Bruce Southey
On 02/11/2011 11:50 AM, Pauli Virtanen wrote: > Fri, 11 Feb 2011 11:34:16 -0600, Bruce Southey wrote: > [clip] >> I agree with Pauli, if Ubuntu wants the user to be able build the >> documentation then Ubuntu would have to create a special package with >> just the numpy documentation that includes

Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Robert Kern
On Fri, Feb 11, 2011 at 11:34, Bruce Southey wrote: > The apparent problem occurs when the user has to build the documentation > from source as sphinx and matlibplot are dependencies. No, please reread the original post. -- Robert Kern "I have come to believe that the whole world is an enigma

Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Pauli Virtanen
Fri, 11 Feb 2011 11:34:16 -0600, Bruce Southey wrote: [clip] > I agree with Pauli, if Ubuntu wants the user to be able build the > documentation then Ubuntu would have to create a special package with > just the numpy documentation that includes the necessary dependencies > (including numpy, matlib

Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Mark Sienkiewicz
>> We can't put python-matplotlib in main because of *its* dependencies. >> > > As a digression, I think the python-matplotlib dependencies could be > significantly reduced. For a number of use cases (this is one of them, > but there are others), you don't need any GUI backend. Independent of

Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Sandro Tosi
On Fri, Feb 11, 2011 at 16:40, Barry Warsaw wrote: > For Debian, we'd simply take those two separate source packages and split the > binary packages among them as appropriate. excuse me? I don't like this solution, or are you going to do all the work in Debian to adapt to this proposal? You have

Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Bruce Southey
On 02/11/2011 10:11 AM, Pauli Virtanen wrote: > Fri, 11 Feb 2011 17:07:25 +0100, Pauli Virtanen wrote: >> Fri, 11 Feb 2011 10:40:57 -0500, Barry Warsaw wrote: [clip] >>> Neither will be acceptable I think. Prebuilt by upstream won't fly for >>> Debian because they'd want the source and build proce

Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Pauli Virtanen
Fri, 11 Feb 2011 17:07:25 +0100, Pauli Virtanen wrote: > Fri, 11 Feb 2011 10:40:57 -0500, Barry Warsaw wrote: [clip] >> Neither will be acceptable I think. Prebuilt by upstream won't fly for >> Debian because they'd want the source and build process, and I don't >> see a feasible way for them to b

Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Pauli Virtanen
Fri, 11 Feb 2011 10:40:57 -0500, Barry Warsaw wrote: [clip] > Neither will be acceptable I think. Prebuilt by upstream won't fly > for Debian because they'd want the source and build process, and I > don't see a feasible way for them to be prebuilt by Ubuntu that's any > different than the current

Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Benjamin Root
On Friday, February 11, 2011, Benjamin Root wrote: > On Friday, February 11, 2011, Jouni K. Seppänen wrote: >> [Crossposting to matplotlib devel list] >> >> Robert Kern writes: >> >>> On Thu, Feb 10, 2011 at 11:22, Barry Warsaw wrote: >>> Here's the problem: for Ubuntu, we've had to disabl

Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Barry Warsaw
On Feb 11, 2011, at 05:18 PM, Jouni K. Seppänen wrote: >[Crossposting to matplotlib devel list] > >Robert Kern writes: > >> On Thu, Feb 10, 2011 at 11:22, Barry Warsaw wrote: >> >>> Here's the problem: for Ubuntu, we've had to disable the building of >>> the numpy documentation package, because

Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Benjamin Root
On Friday, February 11, 2011, Jouni K. Seppänen wrote: > [Crossposting to matplotlib devel list] > > Robert Kern writes: > >> On Thu, Feb 10, 2011 at 11:22, Barry Warsaw wrote: >> >>> Here's the problem: for Ubuntu, we've had to disable the building of >>> the numpy documentation package, becaus

Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Barry Warsaw
Hi Robert, On Feb 10, 2011, at 04:39 PM, Robert Kern wrote: >As a digression, I think the python-matplotlib dependencies could be >significantly reduced. For a number of use cases (this is one of them, >but there are others), you don't need any GUI backend. Independent of >this issue, it would be

Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Barry Warsaw
On Feb 10, 2011, at 11:26 PM, Pauli Virtanen wrote: >Without matplotlib, you won't get any graphs in the documentation. >Ubuntu users will then miss out e.g. on illustrations of various >probability distributions. The figures are not absolutely necessary, but >I wouldn't like to see that to happen

Re: [Numpy-discussion] numpy docs dependency problem in Ubuntu

2011-02-11 Thread Jouni K . Seppänen
[Crossposting to matplotlib devel list] Robert Kern writes: > On Thu, Feb 10, 2011 at 11:22, Barry Warsaw wrote: > >> Here's the problem: for Ubuntu, we've had to disable the building of >> the numpy documentation package, because its dependencies violate >> Ubuntu policy.  Numpy is in our "mai

Re: [Numpy-discussion] Get the index of a comparison of two lists

2011-02-11 Thread josef . pktd
On Fri, Feb 11, 2011 at 9:48 AM, Angus McMorland wrote: > On 11 February 2011 09:01, FRENK Andreas wrote: >> Hi, >> >> I need to create a construct that returns the index of entries of the first >> list, if values in the first and second list are equal. >> >> Take >> >> valA = [1,2,3,4,20,21,22,2

Re: [Numpy-discussion] Get the index of a comparison of two lists

2011-02-11 Thread Angus McMorland
On 11 February 2011 09:01, FRENK Andreas wrote: > Hi, > > I need to create a construct that returns the index of entries of the first > list, if values in the first and second list are equal. > > Take > > valA = [1,2,3,4,20,21,22,23,24] > valB = [1,2,3,4,  5,21,22,23] > The correct solution is: [0

[Numpy-discussion] Get the index of a comparison of two lists

2011-02-11 Thread FRENK Andreas
Hi, I need to create a construct that returns the index of entries of the first list, if values in the first and second list are equal. Take valA = [1,2,3,4,20,21,22,23,24] valB = [1,2,3,4, 5,21,22,23] The correct solution is: [0,1,2,3,5,6,7] A potential loop can be: takeList=[] for j,a in enu

Re: [Numpy-discussion] odd performance of sum?

2011-02-11 Thread Pauli Virtanen
Thu, 10 Feb 2011 20:49:28 +, Pauli Virtanen wrote: [clip] > 1. Check first if the bottleneck is in the inner reduction loop > (function DOUBLE_add in loops.c.src:712) or in the outer iteration > (function PyUFunc_ReductionOp in ufunc_object.c:2781). > 2. If it's in the inner loop, some optim