bundles / numpy 2.4.4 / numpy / testing / _private / extbuild / compile_extension_module
function
numpy.testing._private.extbuild:compile_extension_module
Signature
def compile_extension_module(name, builddir, include_dirs, source_string, libraries = None, library_dirs = None)Summary
Build an extension module and return the filename of the resulting native code file.
Parameters
name: stringname of the module, possibly including dots if it is a module inside a package.
builddir: pathlib.PathWhere to build the module, usually a temporary directory
include_dirs: listExtra directories to find include files when compiling
libraries: listLibraries to link into the extension module
library_dirs: listWhere to find the libraries,
-Lpassed to the linker
Aliases
numpy.testing.extbuild.compile_extension_module