[Numpy-discussion] how to include numpy headers when building an extension?
Christopher Barker
Chris.Barker at noaa.gov
Tue Sep 11 11:53:36 EDT 2007
Travis E. Oliphant wrote:
> I think one answer is because distutils doesn't have defaults that play
> well with eggs.
Fair enough -- anyone know about the progress of integrating setuptool
into the standard library?
> Look at any of the setup.py files for scipy for examples of how to use
> numpy.distutils.
I'll do that. I guess I was under the impression that numpy.distutils
was fro building numpy itself. I don't know why it didn't dawn on my to
give it a try.
> Yes, the transition is a little messy (especially if the build is not
> using distutils at all).
Well, yes, but I learned that lesson a long time ago.
[OT: why the heck do none of the SWIG docs give examples (or even
suggest) using distutils for building SWIG extensions???]
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the NumPy-Discussion
mailing list