Commit b2dc4a33 authored by Marc Schlaich's avatar Marc Schlaich Committed by Ned Deily

bpo-35699: fix distuils cannot detect Build Tools 2017 anymore (GH-11495)

parent 2cf1ddaf
......@@ -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
......
Fixed detection of Visual Studio Build Tools 2017 in distutils
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment