bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / testing / _private / extbuild / compile_extension_module
function
numpy.testing._private.extbuild:compile_extension_module
source: build-install/usr/lib/python3.14/site-packages/numpy/testing/_private/extbuild.py :82
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