Skip to content

Commit a088a11

Browse files
author
denfromufa
authored
Update setup.py
1 parent cae7a1e commit a088a11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,9 @@ def _find_msbuild_tool(self, tool="msbuild.exe", use_windows_sdk=False):
283283
return path
284284

285285
if tool == "msbuild.exe":
286+
vswhere = os.path.join("tools", "vswhere", "vswhere.exe")
286287
basePathes = subprocess.check_output(
287-
["vswhere", "-latest",
288+
[vswhere, "-latest",
288289
"-version", "[15.0, 16.0)",
289290
"-requires", "Microsoft.Component.MSBuild",
290291
"-property", "InstallationPath"]).splitlines()

0 commit comments

Comments
 (0)