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


Re: Why still 2.4? How can I help you?

2007-12-19 Thread Ondrej Certik
On Dec 18, 2007 11:09 PM, Piotr Ożarowski [EMAIL PROTECTED] wrote:
  But Lenny and Sid are both still at Python level 2.4...  If not now, then
  when?

 don't worry, Lenny will not have python2.4 as a default Python version
 (or it will be released with python2.4 over my dead body ;)

Good. :) +1

Ondrej


Re: Why still 2.4? How can I help you?

2007-12-19 Thread js
But when Lenny is released Python2.5 won't be a current python ;)

Anyway, thank you for the clarification.


On Dec 19, 2007 7:09 AM, Piotr Ożarowski [EMAIL PROTECTED] wrote:
  But Lenny and Sid are both still at Python level 2.4...  If not now, then
  when?

 don't worry, Lenny will not have python2.4 as a default Python version
 (or it will be released with python2.4 over my dead body ;)

 How can you help? See this thread:
 http://people.debian.org/~terpstra/message/20071005.180427.1dddb386.en.html
 --
 -=[ Piotr Ozarowski ]=-
 -=[ http://www.ozarowski.pl ]=-