Re: [Numpy-discussion] Problems using add_npy_pkg_config

2015-08-12 Thread Eric Firing
I used to use scons, but I've been pretty happy with switching to waf. (Very limited use in both cases: two relatively simple packages.) One of the nicest things is how light it is--no external dependencies, everything can be included in the package itself.

Re: [Numpy-discussion] f2py and callbacks with variables

2015-08-12 Thread Casey Deen
Hi Pearu- Thanks so much! This works! Can you point me to a reference for the format of the .pyf files? My ~day of searching found a few pages on the scipy website, but nothing which went into this amount of detail. I also asked Stackoverflow, and unless you object, I'd like to add your

[Numpy-discussion] Changes to np.digitize since NumPy 1.9?

2015-08-12 Thread Nathan Goldbaum
Hi all, I've been testing the package I spend most of my time on, yt, under numpy 1.10b1 since the announcement went out. I think I've narrowed down and fixed all of the test failures that cropped up except for one last issue. It seems that the behavior of np.digitize with respect to ndarray

Re: [Numpy-discussion] Changes to np.digitize since NumPy 1.9?

2015-08-12 Thread Nathaniel Smith
On Aug 12, 2015 2:06 PM, Nathan Goldbaum nathan12...@gmail.com wrote: Hi all, I've been testing the package I spend most of my time on, yt, under numpy 1.10b1 since the announcement went out. I think I've narrowed down and fixed all of the test failures that cropped up except for one

Re: [Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.10.0b1 release

2015-08-12 Thread Nathaniel Smith
On Wed, Aug 12, 2015 at 12:51 AM, Sebastian Berg sebast...@sipsolutions.net wrote: On Mi, 2015-08-12 at 09:41 +0200, Jens Jørgen Mortensen wrote: On 08/11/2015 11:23 PM, Charles R Harris wrote: Hi All, give this release a whirl and report any problems either on the numpy-discussion list

Re: [Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.10.0b1 release

2015-08-12 Thread Jens Jørgen Mortensen
On 08/11/2015 11:23 PM, Charles R Harris wrote: Hi All, give this release a whirl and report any problems either on the numpy-discussion list or by opening an issue on github. I'm pleased to announce the first beta release of Numpy 1.10.0. There is over a year's worth of enhancements and bug

Re: [Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.10.0b1 release

2015-08-12 Thread Sebastian Berg
On Mi, 2015-08-12 at 09:41 +0200, Jens Jørgen Mortensen wrote: On 08/11/2015 11:23 PM, Charles R Harris wrote: Hi All, give this release a whirl and report any problems either on the numpy-discussion list or by opening an issue on github. I'm pleased to announce the first beta

Re: [Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.10.0b1 release

2015-08-12 Thread Sebastian Berg
On Mi, 2015-08-12 at 01:07 -0700, Nathaniel Smith wrote: On Wed, Aug 12, 2015 at 12:51 AM, Sebastian Berg sebast...@sipsolutions.net wrote: On Mi, 2015-08-12 at 09:41 +0200, Jens Jørgen Mortensen wrote: On 08/11/2015 11:23 PM, Charles R Harris wrote: Hi All, give this release a

[Numpy-discussion] Problems using add_npy_pkg_config

2015-08-12 Thread Christian Engwer
Dear all, I'm trying to use the numpy distutils to install native C libraries. These are part of a larger roject and should be usable standalone. I managed to install headers and libs, but now I experience problems writing the corresponding pkg file. I first tried to do the trick without numpy,

[Numpy-discussion] f2py and callbacks with variables

2015-08-12 Thread Casey Deen
Hi all- I've run into what I think might be a bug in f2py and callbacks to python. Or, maybe I'm not using things correctly. I have created a very minimal example which illustrates my problem at: https://github.com/soylentdeen/fluffy-kumquat The issue seems to affect call backs with

Re: [Numpy-discussion] Problems using add_npy_pkg_config

2015-08-12 Thread Ralf Gommers
On Wed, Aug 12, 2015 at 6:23 PM, Christian Engwer christian.eng...@uni-muenster.de wrote: Dear all, I'm trying to use the numpy distutils to install native C libraries. These are part of a larger roject and should be usable standalone. I managed to install headers and libs, but now I

Re: [Numpy-discussion] Problems using add_npy_pkg_config

2015-08-12 Thread Charles R Harris
On Wed, Aug 12, 2015 at 10:50 AM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Wed, Aug 12, 2015 at 6:23 PM, Christian Engwer christian.eng...@uni-muenster.de wrote: Dear all, I'm trying to use the numpy distutils to install native C libraries. These are part of a larger roject and

Re: [Numpy-discussion] Problems using add_npy_pkg_config

2015-08-12 Thread Ralf Gommers
On Wed, Aug 12, 2015 at 7:23 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Wed, Aug 12, 2015 at 10:50 AM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Wed, Aug 12, 2015 at 6:23 PM, Christian Engwer christian.eng...@uni-muenster.de wrote: Dear all, I'm trying to use the

Re: [Numpy-discussion] f2py and callbacks with variables

2015-08-12 Thread Pearu Peterson
Hi Casey, What you observe, is not a f2py bug. When f2py sees a code like subroutine foo call bar end subroutine foo then it will not make an attempt to analyze bar because of implicit assumption that all statements that has no references to foo arguments are irrelevant for wrapper function

Re: [Numpy-discussion] Problems using add_npy_pkg_config

2015-08-12 Thread Edison Gustavo Muenz
Why don't you use CMake ? It's pretty standard for C/C++. On Wed, Aug 12, 2015 at 2:35 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Wed, Aug 12, 2015 at 7:23 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Wed, Aug 12, 2015 at 10:50 AM, Ralf Gommers ralf.gomm...@gmail.com