[SciPy-dev] Make numpy.distutils work with python 2.5 + cygwin

Robert Kern robert.kern at gmail.com
Wed May 30 13:51:13 EDT 2007


Ravikiran Rajagopal wrote:
> Hi,
>   I am trying to compile numpy with python 2.5.1 under cygwin and ran into the 
> following issue. I cannot convince numpy.distutils to tell distutils that I 
> am using cygwin. Using the switch "--compiler=ming32" with both 'config' 
> and 'build' options of setup.py, I end up with an error from distutils (not 
> numpy.distutils) that python was built with Visual Studio 2003 and asking me 
> to pass "-c ming32" to setup.py. What magic incantation do I need to convince 
> distutils+numpy.distutils to accept my cygwin compilers?

--compiler=mingw32
               ^

-- 
Robert Kern

"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 SciPy-Dev mailing list