Skip to content

Commit

Permalink
bpo-35699: fix distuils cannot detect Build Tools 2017 anymore (pytho…
Browse files Browse the repository at this point in the history
  • Loading branch information
schlamar authored and ned-deily committed Jan 20, 2019
1 parent 2cf1dda commit b2dc4a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Lib/distutils/_msvccompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed detection of Visual Studio Build Tools 2017 in distutils

0 comments on commit b2dc4a3

Please sign in to comment.