Similar to add_library, but the specified library is installed.
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.
Parameters : | name : str
sources : sequence
install_dir : str
build_info : dict, optional
|
---|---|
Returns : | None : |
See also
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).