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

Function build_import_library

numpy/distutils/mingw32ccompiler.py:341–351  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

339 return (not retcode)
340
341def build_import_library():
342 if os.name != 'nt':
343 return
344
345 arch = get_build_architecture()
346 if arch == 'AMD64':
347 return _build_import_library_amd64()
348 elif arch == 'Intel':
349 return _build_import_library_x86()
350 else:
351 raise ValueError("Unhandled arch %s" % arch)
352
353def _check_for_import_lib():
354 """Check if an import library for the Python runtime already exists."""

Callers 1

__init__Method · 0.85

Calls 3

get_build_architectureFunction · 0.90

Tested by

no test coverage detected