How do you pass compiler option to setup.py install?

Christian Heimes lists at cheimes.de
Thu Jan 3 11:38:52 EST 2008


Emin.shopper Martinian.shopper wrote:
> Dear Experts,
> 
> How do you pass the -c option to setup.py install? Specifically, when I try
> to install zope.interfaces version 3.3 from source on a windows machine, I
> get a message about using "-c mingw32". That works fine for setup.py build,
> but it does not work for "setup.py install".

python setup.py build -c mingw32 install

You can also change the distutils.cfg file to set mingw32 as the default
compiler. Please refer to the documentation for more information.

Christian



More information about the Python-list mailing list