[pypy-commit] pypy py3.5: revert 5a84b83fffbe, breaks finding vs2017

mattip pypy.commits at gmail.com
Mon Feb 19 16:44:13 EST 2018


Author: Matti Picus <matti.picus at gmail.com>
Branch: py3.5
Changeset: r93836:82a463d6b79a
Date: 2018-02-19 23:41 -0500
http://bitbucket.org/pypy/pypy/changeset/82a463d6b79a/

Log:	revert 5a84b83fffbe, breaks finding vs2017

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
@@ -55,10 +55,7 @@
     vcdict = None
     toolsdir = None
     try:
-        if vsver < 140:
-            toolsdir = os.environ['VS%sCOMNTOOLS' % vsver]
-        else:
-            raise KeyError('always use registry values')
+        toolsdir = os.environ['VS%sCOMNTOOLS' % vsver]
     except KeyError:
         # use setuptools from python3 to find tools
         try:


More information about the pypy-commit mailing list