[Python-modules-team] Bug#463007: python-numpy: Problem with the numarray includes

picca frederic picca at synchrotron-soleil.fr
Mon Jan 28 20:52:14 UTC 2008


Package: python-numpy
Version: 1:1.0.4-5
Severity: normal


Hello

In the numpy documentation the transition from numarray to numpy for the
C extension is explained like this:
#include "numarray/libnumarray.h" -> "numpy/libnumarray.h"

but when I used distutils for my C-module the compilation hang with
can not find "numpy/libnumarray.h"
Indeed in /usr/include/python2.4/ there is no numpy directory.

( if you install numarray or Numeric, you can find thoses directory under
/usr/include/python2.x )

So I wonder why your package install an incomplet numpy directory(*), directly
into /usr/incluse
(it is a python module so headers must be installed by python-support,
 and not by hand)
Can you teach python-support how to install all headers in the right
place.

(*) you miss at least those headers
/usr/share/python-support/python-numpy/numpy/numarray/numpy/*.h

Thanks, and have a good day

Frederic

PS: I hope I was clear enought

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-numpy depends on:
ii  atlas3-base [liblapack. 3.6.0-20.6       Automatically Tuned Linear Algebra
ii  libc6                   2.7-6            GNU C Library: Shared libraries
ii  libg2c0                 1:3.4.6-6        Runtime library for GNU Fortran 77
ii  libgcc1                 1:4.3-20080116-1 GCC support library
ii  python                  2.4.4-6          An interactive high-level object-o
ii  python-support          0.7.6            automated rebuilding support for p

python-numpy recommends no packages.

-- no debconf information





More information about the Python-modules-team mailing list