numpy 1.22.4 Pypi GitHub Homepage
Other Docs
NotesParametersReturnsBackRef
add_installed_library(self, name, sources, install_dir, build_info=None)

Most C libraries used with distutils are only used to build python extensions, but libraries built through this method will be installed so that they can be reused by third-party packages.

Notes

The best way to encode the options required to link against the specified C libraries is to use a "libname.ini" file, and use get_info to retrieve the required options (see add_npy_pkg_config for more information).

Parameters

name : str

Name of the installed library.

sources : sequence

List of the library's source files. See add_library for details.

install_dir : str

Path to install the library, relative to the current sub-package.

build_info : dict, optional

The following keys are allowed:

  • depends

  • macros

  • include_dirs

  • extra_compiler_args

  • extra_f77_compile_args

  • extra_f90_compile_args

  • f2py_options

  • language

Returns

None

Similar to add_library, but the specified library is installed.

See Also

add_library
add_npy_pkg_config
get_info

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

numpy.distutils.misc_util.get_info numpy.distutils.misc_util.get_pkg_info numpy.distutils.misc_util.InstallableLib numpy.distutils.misc_util.Configuration.add_npy_pkg_config

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /numpy/distutils/misc_util.py#1601
type: <class 'function'>
Commit: