Author: Matti Picus <[email protected]>
Branch: throw-away
Changeset: r93857:428b5c69b2b3
Date: 2018-02-21 22:21 -0500
http://bitbucket.org/pypy/pypy/changeset/428b5c69b2b3/
Log: typo in path
diff --git a/rpython/translator/platform/windows.py
b/rpython/translator/platform/windows.py
--- a/rpython/translator/platform/windows.py
+++ b/rpython/translator/platform/windows.py
@@ -96,10 +96,7 @@
key, value = line.split('=', 1)
vcdict[key] = value
env = {}
- log.msg('got msvc environ')
for key, value in vcdict.items():
- if 'sdk' in key.lower():
- log.msg('%s=%s' %(key, value))
if key.upper() in ['PATH', 'INCLUDE', 'LIB']:
env[key.upper()] = value
if not _find_executable('mt.exe', env['PATH']):
@@ -107,7 +104,7 @@
# put it together from some other env variables that happened to exist
# on the buildbot where this occurred
if 'WindowsSDKVersion' in vcdict and 'WindowsSdkDir' in vcdict:
- binpath = vcdict['WindowsSdkDir'] + '\\bin' +
vcdict['WindowsSDKVersion'] + 'x86'
+ binpath = vcdict['WindowsSdkDir'] + '\\bin\\' +
vcdict['WindowsSDKVersion'] + 'x86'
env['PATH'] += ';' + binpath
if not _find_executable('mt.exe', env['PATH']):
log.msg('Could not find mt.exe on path=%s' % env['PATH'])
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit