MCPcopy Index your code
hub / github.com/astral-sh/python-build-standalone / find_vswhere

Function find_vswhere

cpython-windows/build.py:224–236  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222
223
224def find_vswhere():
225 vswhere = (
226 pathlib.Path(os.environ["ProgramFiles(x86)"])
227 / "Microsoft Visual Studio"
228 / "Installer"
229 / "vswhere.exe"
230 )
231
232 if not vswhere.exists():
233 print("%s does not exist" % vswhere)
234 sys.exit(1)
235
236 return vswhere
237
238
239def find_vs_path(path, msvc_version):

Callers 1

find_vs_pathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected