[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

Steve Dower report at bugs.python.org
Sun Feb 23 23:57:14 CET 2014


Steve Dower added the comment:

My patches (which I've backed away from now - between wheels and monkey patching Distutils from a setup.py, there are enough workarounds) also handled the fact that VS 2008 is no longer freely/officially available, and presumably VS 2010 will eventually go the same way. From my point of view, VC++ 2008 Express not including 64-bit compilers is less of a concern than VC++ 2008 Express not being available at all.

The Windows SDK is the only way that VC9 is distributed now, but it doesn't install the vcvarsall.bat file that Distutils needs. The same goes for the version of the SDK that includes VC10. These patches look in the registry for the actual paths, rather than just to find a batch file that isn't a component of the compiler.

(FWIW, the patches should be identical apart from some Python 2/3 differences - the version number is parameterised.)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7511>
_______________________________________


More information about the Python-bugs-list mailing list