Comment 5 for bug 409269

Revision history for this message
Alexis Roche (alexis-roche) wrote : Re: [Bug 409269] [NEW] setup fails on mingw32

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