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

Function generate_manifest

numpy/distutils/mingw32ccompiler.py:581–591  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

579 return root + ".rc"
580
581def generate_manifest(config):
582 msver = get_build_msvc_version()
583 if msver is not None:
584 if msver >= 8:
585 check_embedded_msvcr_match_linked(msver)
586 ma_str, mi_str = str(msver).split('.')
587 # Write the manifest file
588 manxml = msvc_manifest_xml(int(ma_str), int(mi_str))
589 with open(manifest_name(config), "w") as man:
590 config.temp_files.append(manifest_name(config))
591 man.write(manxml)

Callers 1

_linkMethod · 0.90

Calls 6

msvc_manifest_xmlFunction · 0.85
openFunction · 0.85
manifest_nameFunction · 0.85
splitMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected