Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Francesc Alted <faltet-StYTz+MNz/9g9hUCZPvPmw <at> public.gmane.org>
Subject: Re: [Cython] Conditional import in pure Python mode
Newsgroups: gmane.comp.python.cython.devel
Date: Tuesday 1st May 2012 19:49:40 UTC (over 4 years ago)
On 5/1/12 2:39 PM, mark florisson wrote:
> On 1 May 2012 20:22, Stefan
Behnel  wrote:
>> Stefan Behnel, 01.05.2012 21:14:
>>> 2) Use math.pxd as an override for the math module. I'm not sure yet
how
>>> that would best be made to work, but it shouldn't be all that complex.
It
>>> already works (mostly?) for numpy.pxd, for example, although that's
done
>>> explicitly in user code.
>> BTW, I think it would be helpful to make the numpy.pxd cimport automatic
as
>> well whenever someone does "import numpy" and friends, right?
>>
>> Stefan
>> _______________________________________________
>> cython-devel mailing list
>> [email protected]
>> http://mail.python.org/mailman/listinfo/cython-devel
> I'm not sure, it means the user has to have numpy development headers.

But if the user is going to compile a NumPy application, it sounds like 
strange to me that she should not be required to install the NumPy 
development headers, right?

-- 
Francesc Alted
 
CD: 3ms