[Numpy-discussion] header file location upon installation
Sun Mar 25 16:44:30 CDT 2007
Daniel Wheeler wrote:
> Should the header files in
> be copied to
> upon installation of numpy?
No. For reasons that we've discussed several times here, the only reliable place
to keep headers is in the package itself. Some users don't have write access to
sys.prefix and some users use eggs and/or have multiple versions of numpy
installed at any one time.
For building extensions, either use numpy.distutils, which will take care of
everything for you, or use numpy.get_include() to get the directory with headers.
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion