Hi, in Debian we had a bug report[1] requesting to ship libnpymath.a .
[1] http://bugs.debian.org/596987
Our python packaging tools doesn't handle .a files, so I'd like to ask you where exactly should I ship that file. In the build directory I have:
$ find . -name "*.a" | xargs md5sum 4c2371b98c138756b0471a4fb364e0ae ./debian/tmp/usr/lib/python2.5/site-packages/numpy/core/lib/libnpymath.a fc6040f2bd4354cca8ef130abc5c8b17 ./debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/lib/libnpymath.a 0c9870a2e5cf61669c92677d9b12c116 ./build/temp_d.linux-x86_64-2.5/libnpymath.a 47fdd29b85570ce80b1c616c6c02f41a ./build/temp.linux-x86_64-2.6-pydebug/libnpymath.a 4c2371b98c138756b0471a4fb364e0ae ./build/temp.linux-x86_64-2.5/libnpymath.a fc6040f2bd4354cca8ef130abc5c8b17 ./build/temp.linux-x86_64-2.6/libnpymath.a
(the md5sum is to show that they are actually different between python version and/or debug build): the first 2 are in the "temporary" debian package preparation dir, while the other 4 are for 2.5/2.6 + normal/debug build.
So, back to the original question: where should I put libnpymath.a to be useful for our users (main request: new scipy)? maybe in ..../numpy/core/lib/ ?
Cheers,
On Mon, 13 Dec 2010 20:51:56 +0100, Sandro Tosi wrote: [clip]
So, back to the original question: where should I put libnpymath.a to be useful for our users (main request: new scipy)? maybe in ..../numpy/core/lib/ ?
In the place pointed to by npymath.ini, which is where "python setup.py install" puts it. The point is that numpy.distutils should be able to locate this library file for building extension modules that depend on it.
Hi,
On Mon, Dec 13, 2010 at 22:05, Pauli Virtanen pav@iki.fi wrote:
On Mon, 13 Dec 2010 20:51:56 +0100, Sandro Tosi wrote: [clip]
So, back to the original question: where should I put libnpymath.a to be useful for our users (main request: new scipy)? maybe in ..../numpy/core/lib/ ?
In the place pointed to by npymath.ini, which is where "python setup.py install" puts it. The point is that numpy.distutils should be able to locate this library file for building extension modules that depend on it.
Yep, now I see: I think I've prepared the package shipping libnpymath.a in the right place, let's see :)
Thanks a lot for your help!
Cheers,