mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
bpo-35699: fix distuils cannot detect Build Tools 2017 anymore (GH-11495)
(cherry picked from commit b2dc4a3313)
Co-authored-by: Marc Schlaich <marc.schlaich@googlemail.com>
This commit is contained in:
committed by
GitHub
parent
47290e7642
commit
2fa53cfa89
@@ -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
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Fixed detection of Visual Studio Build Tools 2017 in distutils
|
||||
Reference in New Issue
Block a user