Author: Matti Picus <[email protected]>
Branch: py3.5-msvc14
Changeset: r93807:5a84b83fffbe
Date: 2018-02-11 22:49 -0500
http://bitbucket.org/pypy/pypy/changeset/5a84b83fffbe/

Log:    ignore VS140COMNTOOLS environment variable in order to set up the
        SDK toolkit

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
@@ -56,7 +56,10 @@
     vcdict = None
     toolsdir = None
     try:
-        toolsdir = os.environ['VS%sCOMNTOOLS' % vsver]
+        if vsver < 140:
+            toolsdir = os.environ['VS%sCOMNTOOLS' % vsver]
+        else:
+            raise KeyError('always use registry values')
     except KeyError:
         # use setuptools from python3 to find tools
         try:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to