bundle.pybind.resolved.module

Classes

ModuleResolved

This class defines the resolved configuration options required to build a pybind11 extension module.

Module Contents

class bundle.pybind.resolved.module.ModuleResolved(/, **data: Any)[source]

Bases: bundle.core.data.Data

This class defines the resolved configuration options required to build a pybind11 extension module. In addition of ModuleSpec, add the resolved pkg-config information.

spec: bundle.pybind.specs.ModuleSpec
pkgconfig: bundle.pybind.resolved.pkgconfig.PkgConfigResolved = None
property sources: list[str]

Source files, relative paths.

property std_flag: str

The compiler flag for the requested C++ standard.

property include_dirs: list[str]

pybind11 include first, then spec-level dirs, then any pkg-config includes.

property library_dirs: list[str]

All pkg-config library directories.

property libraries: list[str]

All pkg-config libraries.

property extra_compile_args: list[str]

std flag, then spec-level args, then pkg-config compile flags.

Spec-level link args, then pkg-config linker flags.