Steve Dower added the comment:

I've added a patch that replaces query_vcvarsall() with an implementation that 
does not try and use the batch file. Instead, the functionality of the batch 
file (effectively, reading the base path from the registry and appending 
constants) is reproduced in Python code.

(There is a second patch for 2.7, since winreg/_winreg is different between the 
two.)

There is no reason to expect that the installation layout of VC9 and VC10 will 
change at this stage, though future updates may be required for new versions 
(though I've already added the mapping for VC11 - not that we're building 
Python with that one yet).

I have left find_vcvarsall() in there, even though it is no longer used, in 
case other tools are monkeypatching to work around the existing issue.

----------
Added file: http://bugs.python.org/file29754/msvccompiler9_33.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7511>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to