[SciPy-user] building with local libraries

Arnd Baecker arnd.baecker at web.de
Wed Dec 14 03:10:40 EST 2005



On Tue, 13 Dec 2005, Rob Managan wrote:

> What is the proper way to tell scipy to use libraries that are not in
> the 'standard" locations?
> It seems that for FFTW you have to set and environment variable and
> not use site.cfg.

Which lines did you put into site.cfg?

For example:

[fftw]
library_dirs = /scr/python/lib/
include_dirs = /scr/python/include/

Note that you will also have to specify `include_dirs`,
otherwise it will find the libraries, but not the include
files and therefore tell you that there is no fftw at all.

(Note to developers: wouldn't it be nicer at this point
to tell the user that the libs were found, but
not the header files, which are needed for the install?)

Best, Arnd




More information about the SciPy-User mailing list