[Distutils] How to easy_install from source package with mingw32 on Windows?

Robert Kern robert.kern at gmail.com
Thu Sep 13 04:54:57 CEST 2007

zooko wrote:

> A deeper question is: wouldn't it be nice if "./setup.py install"  
> automatically used the "build -c mingw32" feature when necessary?   
> Would anyone be interested in extending distutils to do that?

You can configure it to do so already. Making distutils automatically figure out
that this is desired and safe is probably more magic than it's worth.


Use a section in your pydistutils.cfg file like this:


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 Distutils-SIG mailing list