[Numpy-discussion] distutils data_files target

2006-10-25 Thread Christian Kristukat
Hi, I noticed that plain distutils and numpy.distutils differ in where they put the files specified with the keyword 'data_files' ( at least on windows XP). With distutils they go to 'PREFIX' and with numpy.distutils they go to 'PLATLIB', i.e. relative to the package installation directory. I gues

Re: [Numpy-discussion] sort(axis=-1)

2006-10-18 Thread Christian Kristukat
Travis Oliphant ieee.org> writes: > > Christian Kristukat wrote: > > Hi, > > > > it seems that -1 as axis parameter is interpreted like in array indexing, > > -1 means the last axis rather than meaning the only axis of the flattened > > representation, li

[Numpy-discussion] sort(axis=-1)

2006-10-18 Thread Christian Kristukat
Hi, it seems that -1 as axis parameter is interpreted like in array indexing, i.e. -1 means the last axis rather than meaning the only axis of the flattened representation, like for example with take(). Is that intendend? Christian --

Re: [Numpy-discussion] compatibility of extension modules

2006-10-09 Thread Christian Kristukat
Christian Kristukat hoc.net> writes: > > Hi, > i've got problems running a numpy/scipy extension module (scipy.sandbox.odr) > built with cygwin/mingw32 on XP on other machines (windows 2000). I get those > very informative 'windows encountered a problem' mess

[Numpy-discussion] compatibility of extension modules

2006-10-05 Thread Christian Kristukat
Hi, i've got problems running a numpy/scipy extension module (scipy.sandbox.odr) built with cygwin/mingw32 on XP on other machines (windows 2000). I get those very informative 'windows encountered a problem' messages when calling the extension module - importing seems to work. Is there any optimiza

Re: [Numpy-discussion] take behaviour has changed

2006-09-22 Thread Christian Kristukat
Travis Oliphant ieee.org> writes: > > Christian Kristukat wrote: > > Bill Baxter gmail.com> writes: > > > > > >> Yep, check the release notes: > >> http://www.scipy.org/ReleaseNotes/NumPy_1.0 > >> search for 'take' on that

Re: [Numpy-discussion] take behaviour has changed

2006-09-21 Thread Christian Kristukat
Bill Baxter gmail.com> writes: > > Yep, check the release notes: > http://www.scipy.org/ReleaseNotes/NumPy_1.0 > search for 'take' on that page to find out what others have changed as well. > --bb Ok. Does axis=None then mean, that take(a, ind) operates on the flattened array? This it at least

[Numpy-discussion] take behaviour has changed

2006-09-21 Thread Christian Kristukat
Hi, from 1.0b1 to 1.0rc1 the default behaviour of take seems to have changed when omitting the axis argument: In [13]: a = reshape(arange(12),(3,4)) In [14]: take(a,[2,3]) Out[14]: array([2, 3]) In [15]: take(a,[2,3],1) Out[15]: array([[ 2, 3], [ 6, 7], [10, 11]]) Is this intend

[Numpy-discussion] numpy 1.0rc1 bdist_rpm fails

2006-09-21 Thread Christian Kristukat
Hi, on linux I get an error when trying to build a rpm package from numpy 1.0rc1: building extension "numpy.core.umath" sources adding 'build/src.linux-i686-2.4/numpy/core/config.h' to sources. executing numpy/core/code_generators/generate_ufunc_api.py adding 'build/src.linux-i686-2.4/numpy/

[Numpy-discussion] bdist_rpm failure

2006-07-11 Thread Christian Kristukat
Hi, currently the bdist_rpm build method seems to be quite unstable. It works for some recent svn revisions, for the current 2804, however, not. The error messages begin with: building 'numpy.core.multiarray' extension compiling C sources C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2

Re: [Numpy-discussion] NumPy beta release plan

2006-07-10 Thread Christian Kristukat
Charles R Harris gmail.com> writes: > > > Hi, > > On 7/9/06, Robert Kern gmail.com> wrote: > Christian Kristukat wrote:> Robert Kern gmail.com> writes:>>> I believe that Debian recently changed its configuration to default to > >> /usr/local

Re: [Numpy-discussion] NumPy beta release plan

2006-07-09 Thread Christian Kristukat
Robert Kern gmail.com> writes: > I believe that Debian recently changed its configuration to default to > /usr/local (for good reason!). Perhaps that is causing what you see. > I just found out that this is feature/bug of opensuse 10.1. I'm beginning to like it but can you tell what you have t

Re: [Numpy-discussion] NumPy beta release plan

2006-07-09 Thread Christian Kristukat
Travis Oliphant ieee.org> writes: > > > Some of you may have noticed that things have been changing rapidly in > the NumPy world (if you were out of the office in June then all the > activity may seem overwhelming). > > All of this activity is based on the fact that the upcoming beta releas