[Numpy-discussion] how to include numpy headers when building an extension?

Travis E. Oliphant oliphant at enthought.com
Tue Sep 11 14:43:36 EDT 2007


Christopher Barker wrote:
> [OT: why the heck do none of the SWIG docs give examples (or even 
> suggest) using distutils for building SWIG extensions???]
>   

I'm pretty sure this is because the people who contributed to the SWIG 
docs the most are not currently using numpy.distutils (but probably 
should be) --- I suspect they were in your same boat of not realizing 
that numpy.distutils makes it easier to build packages that depend on 
numpy in general. 

-Travis




More information about the NumPy-Discussion mailing list