API Documentation

extension_helpers Package



Add OpenMP compilation flags, if supported (if not a warning will be printed to the console and no flags will be added.)


Determines the compiler that will be used to build extension modules.


Collect all extensions from Cython files and setup_package.py files.

import_file(filename[, name])

Imports a module from a single file without importing the package that the file is in.

pkg_config(packages, default_libraries[, ...])

Uses pkg-config to update a set of distutils Extension arguments to include the flags necessary to link against the given packages.

write_if_different(filename, data)

Write data to filename, if the content of the file is different.