diff options
author | Marc Schlaich <marc.schlaich@googlemail.com> | 2019-01-20 18:47:42 (GMT) |
---|---|---|
committer | Ned Deily <nad@python.org> | 2019-01-20 18:47:42 (GMT) |
commit | b2dc4a3313c236fedbd6df664722cd47f3d91a72 (patch) | |
tree | 96a0fe7f5d62ee690871021d78882f6808028de1 /Lib/distutils | |
parent | 2cf1ddaff4c869780d9e796b21ef3e506f8ad321 (diff) | |
download | cpython-b2dc4a3313c236fedbd6df664722cd47f3d91a72.zip cpython-b2dc4a3313c236fedbd6df664722cd47f3d91a72.tar.gz cpython-b2dc4a3313c236fedbd6df664722cd47f3d91a72.tar.bz2 |
bpo-35699: fix distuils cannot detect Build Tools 2017 anymore (GH-11495)
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/_msvccompiler.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/distutils/_msvccompiler.py b/Lib/distutils/_msvccompiler.py index 84b4ef5..58b20a2 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 |