[New-bugs-announce] [issue5969] setup build with Platform SDK, finding vcvarsall.bat

Marc Schoenefeld report at bugs.python.org
Fri May 8 16:03:47 CEST 2009


New submission from Marc Schoenefeld <marc.schoenefeld at gmx.org>:

Hi, 

I have the M$ Platform SDK installed, which 
is a free (as don't pay) alternative to 
VisualStudio.   

in order to achieve a successful compile with 
setup.py build on the Platform SDK I 
had to add the following change in 
distutils/msvc9compiler.py: 

Best regards
Marc 

Patch draft:

def find_vcvarsall(version):
       
+   vcvarsall = os.path.join(productdir+"\\bin", "vcvars32.bat")
-   vcvarsall = os.path.join(productdir, "vcvarall.bat")

 
   if os.path.isfile(vcvarsall):

----------
assignee: tarek
components: Distutils
messages: 87442
nosy: MarcMarc, tarek
severity: normal
status: open
title: setup build with Platform SDK, finding vcvarsall.bat
type: behavior
versions: Python 2.6

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


More information about the New-bugs-announce mailing list