Re: question about NumPy C include files location

2007-12-20 Thread Andrew Straw

Ondrej Certik wrote:

Hi,

the files like arrayobject.h, arrayscalars.h etc. used to be in:

/usr/lib/python2.4/site-packages/numpy/core/include/numpy/

and this imho is the same on other distributions, like Gentoo.

However, now, the fresh python-numpy in Debian has them in:

/usr/share/python-support/python-numpy/numpy/core/include/numpy/

I am not sure this is correct?

Those files are needed, when you want to write extension modules in C,
that use python-numpy.

Ondrej


  
You probably know this already, but where ever they go, please make sure 
that numpy.get_include() knows where to find them.


Thanks,
Andrew


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: question about NumPy C include files location

2007-12-20 Thread Ondrej Certik
On Dec 20, 2007 9:17 PM, Andrew Straw [EMAIL PROTECTED] wrote:

 Ondrej Certik wrote:
  Hi,
 
  the files like arrayobject.h, arrayscalars.h etc. used to be in:
 
  /usr/lib/python2.4/site-packages/numpy/core/include/numpy/
 
  and this imho is the same on other distributions, like Gentoo.
 
  However, now, the fresh python-numpy in Debian has them in:
 
  /usr/share/python-support/python-numpy/numpy/core/include/numpy/
 
  I am not sure this is correct?
 
  Those files are needed, when you want to write extension modules in C,
  that use python-numpy.
 
  Ondrej
 
 
 
 You probably know this already, but where ever they go, please make sure
 that numpy.get_include() knows where to find them.

Thanks for the info. BTW, we decided with Kumar to wait until
python-numpy gets into testing.
Or should we fix this now? This is imho a policy violation, so it's an RC bug.

Ondrej


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



question about NumPy C include files location

2007-12-19 Thread Ondrej Certik
Hi,

the files like arrayobject.h, arrayscalars.h etc. used to be in:

/usr/lib/python2.4/site-packages/numpy/core/include/numpy/

and this imho is the same on other distributions, like Gentoo.

However, now, the fresh python-numpy in Debian has them in:

/usr/share/python-support/python-numpy/numpy/core/include/numpy/

I am not sure this is correct?

Those files are needed, when you want to write extension modules in C,
that use python-numpy.

Ondrej


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: question about NumPy C include files location

2007-12-19 Thread Ondrej Certik
On Dec 19, 2007 10:00 AM, Ondrej Certik [EMAIL PROTECTED] wrote:
 Hi,

 the files like arrayobject.h, arrayscalars.h etc. used to be in:

 /usr/lib/python2.4/site-packages/numpy/core/include/numpy/

 and this imho is the same on other distributions, like Gentoo.

 However, now, the fresh python-numpy in Debian has them in:

 /usr/share/python-support/python-numpy/numpy/core/include/numpy/

 I am not sure this is correct?

Also the new package has them in:

/var/lib/python-support/python2.4/numpy/core/include/numpy/

(symlinks)

Where is the canonical place where to put those files, if any?

Ondrej


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: question about NumPy C include files location

2007-12-19 Thread Josselin Mouette
Le mercredi 19 décembre 2007 à 10:03 +0100, Ondrej Certik a écrit :
 On Dec 19, 2007 10:00 AM, Ondrej Certik [EMAIL PROTECTED] wrote:
  Hi,
 
  the files like arrayobject.h, arrayscalars.h etc. used to be in:
 
  /usr/lib/python2.4/site-packages/numpy/core/include/numpy/
 
  and this imho is the same on other distributions, like Gentoo.
 
  However, now, the fresh python-numpy in Debian has them in:
 
  /usr/share/python-support/python-numpy/numpy/core/include/numpy/
 
  I am not sure this is correct?

Both of them are indeed incorrect.

 Also the new package has them in:
 
 /var/lib/python-support/python2.4/numpy/core/include/numpy/
 
 (symlinks)
 
 Where is the canonical place where to put those files, if any?

Include files must be placed in /usr/include, following the FHS. Other
python-related packages place them in /usr/include/python2.x or
in /usr/include/pysomething.

-- 
 .''`.
: :' :  We are debian.org. Lower your prices, surrender your code.
`. `'   We will add your hardware and software distinctiveness to
  `-our own. Resistance is futile.


signature.asc
Description: Ceci est une partie de message	numériquement signée