MCPcopy Create free account
hub / github.com/numpy/numpy / msvc_runtime_library

Function msvc_runtime_library

numpy/distutils/misc_util.py:442–451  ·  view source on GitHub ↗

Return name of MSVC runtime library if Python was built with MSVC >= 7

()

Source from the content-addressed store, hash-verified

440 return msc_ver
441
442def msvc_runtime_library():
443 "Return name of MSVC runtime library if Python was built with MSVC >= 7"
444 ver = msvc_runtime_major ()
445 if ver:
446 if ver < 140:
447 return "msvcr%i" % ver
448 else:
449 return "vcruntime%i" % ver
450 else:
451 return None
452
453def msvc_runtime_major():
454 "Return major version of MSVC runtime coded like get_build_msvc_version"

Callers 3

get_msvcr_replacementFunction · 0.90
linkMethod · 0.90
build_msvcr_libraryFunction · 0.90

Calls 1

msvc_runtime_majorFunction · 0.85

Tested by

no test coverage detected