Author steve.dower
Recipients Daniel.Ozminkowski, Victor.Lin, eric.araujo, giampaolo.rodola, ipatrol, jafo, lemburg, loewis, piotr.dobrogost, sayap, schmir, shimizukawa, skrah, srid, steve.dower, tarek, thorsten.behrens, zzzeek
Date 2013-04-09.20:39:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365539978.91.0.184713835103.issue7511@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-04-09 20:39:39steve.dowersetrecipients: + steve.dower, lemburg, loewis, jafo, giampaolo.rodola, schmir, tarek, sayap, eric.araujo, zzzeek, srid, skrah, ipatrol, shimizukawa, thorsten.behrens, piotr.dobrogost, Victor.Lin, Daniel.Ozminkowski
2013-04-09 20:39:38steve.dowersetmessageid: <1365539978.91.0.184713835103.issue7511@psf.upfronthosting.co.za>
2013-04-09 20:39:38steve.dowerlinkissue7511 messages
2013-04-09 20:39:38steve.dowercreate