Commit cb20330b 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 18e2218e
...@@ -78,6 +78,7 @@ def _find_vc2017(): ...@@ -78,6 +78,7 @@ def _find_vc2017():
"-prerelease", "-prerelease",
"-requires", "Microsoft.VisualStudio.Component.VC.Tools.x86.x64", "-requires", "Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
"-property", "installationPath", "-property", "installationPath",
"-products", "*",
], encoding="mbcs", errors="strict").strip() ], encoding="mbcs", errors="strict").strip()
except (subprocess.CalledProcessError, OSError, UnicodeDecodeError): except (subprocess.CalledProcessError, OSError, UnicodeDecodeError):
return None, None return None, None
......
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