From 7e7e5daaf94b121c508456ddbdb86d9f8f6da943 Mon Sep 17 00:00:00 2001 From: Marc Schlaich Date: Thu, 10 Jan 2019 08:24:42 +0100 Subject: [PATCH 1/2] bpo-35699: fix distuils cannot detect Build Tools 2017 anymore --- Lib/distutils/_msvccompiler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/distutils/_msvccompiler.py b/Lib/distutils/_msvccompiler.py index 84b4ef59599deda..58b20a210247339 100644 --- a/Lib/distutils/_msvccompiler.py +++ b/Lib/distutils/_msvccompiler.py @@ -78,6 +78,7 @@ def _find_vc2017(): "-prerelease", "-requires", "Microsoft.VisualStudio.Component.VC.Tools.x86.x64", "-property", "installationPath", + "-products", "*", ], encoding="mbcs", errors="strict").strip() except (subprocess.CalledProcessError, OSError, UnicodeDecodeError): return None, None From 3fa0b555a71cfabfac79d4c2f1439dea39ba92e5 Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" Date: Fri, 11 Jan 2019 07:09:26 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../NEWS.d/next/Library/2019-01-11-07-09-25.bpo-35699.VDiENF.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Library/2019-01-11-07-09-25.bpo-35699.VDiENF.rst diff --git a/Misc/NEWS.d/next/Library/2019-01-11-07-09-25.bpo-35699.VDiENF.rst b/Misc/NEWS.d/next/Library/2019-01-11-07-09-25.bpo-35699.VDiENF.rst new file mode 100644 index 000000000000000..e632e7bdcffee9c --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-01-11-07-09-25.bpo-35699.VDiENF.rst @@ -0,0 +1 @@ +Fixed detection of Visual Studio Build Tools 2017 in distutils \ No newline at end of file