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

Function find_vcvarsall_path

cpython-windows/build.py:282–286  ·  view source on GitHub ↗

Find path to vcvarsall.bat

(msvc_version)

Source from the content-addressed store, hash-verified

280
281
282def find_vcvarsall_path(msvc_version):
283 """Find path to vcvarsall.bat"""
284 return find_vs_path(
285 pathlib.Path("VC") / "Auxiliary" / "Build" / "vcvarsall.bat", msvc_version
286 )
287
288
289class NoSearchStringError(Exception):

Callers 1

build_libffiFunction · 0.85

Calls 1

find_vs_pathFunction · 0.85

Tested by

no test coverage detected