Sounds like numpy.distutils expects d['libraries'] to be a list, while it's a string with value 'g2c'...
Here below is the site.cfg file I use to build numpy (I have been using it for almost two years):
[DEFAULT] library_dirs = c:\mingw\lib;c:\Libraries\lib include_dirs = c:\mingw\include;c:\Libraries\include libraries = g2c
Last thing: I'm using g77 as a fortran compiler (it is the one provided by mingw).
Alexis
On Wed, Aug 5, 2009 at 6:48 PM, Alexis Roche<email address hidden> wrote: >> Use "print d" in pdb, "d" is mapped to a pdb command. > > All right. > > (Pdb) print d > {'libraries': 'g2c', 'library_dirs': > 'c:\\mingw\\lib;c:\\Libraries\\lib', 'include_dirs': > 'c:\\mingw\\include;c:\\Libraries\\include'} > > Cheers, > > Alexis >
-- Alexis Roche, PhD Researcher, CEA, Neurospin, Paris, France Academic Guest, ETHZ, Computer Vision Lab, Zurich, Switzerland http://alexis.roche.googlepages.com
Sounds like numpy.distutils expects d['libraries'] to be a list, while
it's a string with value 'g2c'...
Here below is the site.cfg file I use to build numpy (I have been
using it for almost two years):
[DEFAULT] lib;c:\ Libraries\ lib include; c:\Libraries\ include
library_dirs = c:\mingw\
include_dirs = c:\mingw\
libraries = g2c
Last thing: I'm using g77 as a fortran compiler (it is the one
provided by mingw).
Alexis
On Wed, Aug 5, 2009 at 6:48 PM, Alexis Roche<email address hidden> wrote: \lib;c: \\Libraries\ \lib', 'include_dirs': \include; c:\\Libraries\ \include' }
>> Use "print d" in pdb, "d" is mapped to a pdb command.
>
> All right.
>
> (Pdb) print d
> {'libraries': 'g2c', 'library_dirs':
> 'c:\\mingw\
> 'c:\\mingw\
>
> Cheers,
>
> Alexis
>
-- alexis. roche.googlepag es.com
Alexis Roche, PhD
Researcher, CEA, Neurospin, Paris, France
Academic Guest, ETHZ, Computer Vision Lab, Zurich, Switzerland
http://