setup.py Choosing Older Compiler On Windows
d at davea.name
Sun Dec 2 22:06:41 CET 2012
On 12/02/2012 09:34 AM, Ami Tavory wrote:
> I'm porting a C++ extension module to a Windows machine that has both VC8
> and VC10 installed. Unfortunately, `setup.py build` tries to build using
> VC8, which fails (the extension uses C++ standard libraries that VC didn't
> used to have). Is there a way to get setup.py to use VC10 (preferably
> externally, without modifying the script)?
I haven't had to do Windows C++ development for many years, but there
used to be a vcvars.bat in each compiler installation, and you run the
one corresponding to the compiler & libraries you want.
More information about the Python-list