Re: [Numpy-discussion] For review: first milestone of scons support in numpy

2007-10-12 Thread David Cournapeau
Pearu Peterson wrote: > > Yes. I was considering the situations where distutils in not used at > all. May be it will be relevant in future.. > If distutils is not used at all, there will be more difficult problems to solve than this one, then. I think it is safe to assume that distutils will sta

Re: [Numpy-discussion] For review: first milestone of scons support in numpy

2007-10-12 Thread Pearu Peterson
David Cournapeau wrote: > Pearu Peterson wrote: >> My point was that >> >>root/numpy/linalg > scons >> >> should work (without the -u option). > Since scons is called by distutils, and never by the user, I don't see > how this can be a problem ? distutils would have to figure out when to

Re: [Numpy-discussion] For review: first milestone of scons support in numpy

2007-10-11 Thread David Cournapeau
Pearu Peterson wrote: > >> Anyway, scons does not >> require anything else than a python interpreter. Actually, an explicit >> requirement of scons is to support any python starting at version 1.5.2 >> (this is another important point which I consider important for a >> replacement of numpy.dis

Re: [Numpy-discussion] For review: first milestone of scons support in numpy

2007-10-11 Thread Robert Kern
Pearu Peterson wrote: > David Cournapeau wrote: >> Pearu Peterson wrote: >>> I think this is good. >>> Does scons require python-dev? If not then this will solve one of the >>> frequent issues that new users may experience: not installed distutils. >> Isn't distutils included in python library ? >

Re: [Numpy-discussion] For review: first milestone of scons support in numpy

2007-10-11 Thread Pearu Peterson
David Cournapeau wrote: > Pearu Peterson wrote: >> I think this is good. >> Does scons require python-dev? If not then this will solve one of the >> frequent issues that new users may experience: not installed distutils. > Isn't distutils included in python library ? Not always. For example, in de

Re: [Numpy-discussion] For review: first milestone of scons support in numpy

2007-10-11 Thread David Cournapeau
Pearu Peterson wrote: > > I think this is good. > Does scons require python-dev? If not then this will solve one of the > frequent issues that new users may experience: not installed distutils. Isn't distutils included in python library ? Anyway, scons does not require anything else than a python

Re: [Numpy-discussion] For review: first milestone of scons support in numpy

2007-10-11 Thread Pearu Peterson
David Cournapeau wrote: > Pearu Peterson wrote: >> 2) It seems that scons does not interfare with numpy.distutils much. >> If this is true and numpy/scipy builds will not break when scons is >> not installed then I think you could continue the scons support >> development in trunk. > It won't bre

Re: [Numpy-discussion] For review: first milestone of scons support in numpy

2007-10-11 Thread David Cournapeau
Pearu Peterson wrote: > Hi, > > Examples look good. It seems that you have lots of work ahead;) to add > numpy.distutils features that are required to build numpy/scipy. > Hi Pearu, Thanks for reviewing this, especially since you are arguably the most knowledgeable about this part of numpy :)

Re: [Numpy-discussion] For review: first milestone of scons support in numpy

2007-10-11 Thread Pearu Peterson
Hi, Examples look good. It seems that you have lots of work ahead;) to add numpy.distutils features that are required to build numpy/scipy. Few comments: 1) Why SConstruct does not have extension? It looks like a python file and .py extension could be used. 2) It seems that scons does not interf

[Numpy-discussion] For review: first milestone of scons support in numpy

2007-10-10 Thread David Cournapeau
Hi, (if you are not interested in numpy developement, you can stop now :) ). Following the discussion a few days ago on using scons to build extensions in numpy, I have reached a somewhat usable milestone, in the numpy.scons branch of numpy, and would like to hear some comments, remarks