bundle.pybind.resolved

Submodules

Classes

PkgConfigResolved

Base data model class, providing utilities for serialization and deserialization

PkgConfigResult

Base data model class, providing utilities for serialization and deserialization

ModuleResolved

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

ProjectResolved

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

Package Contents

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

Bases: bundle.core.data.Data

Base data model class, providing utilities for serialization and deserialization from/to JSON, along with JSON Schema generation.

model_config

Default model configuration settings.

spec: bundle.pybind.specs.PkgConfigSpec
resolved: list[PkgConfigResult] = None
class bundle.pybind.resolved.PkgConfigResult(/, **data: Any)[source]

Bases: bundle.core.data.Data

Base data model class, providing utilities for serialization and deserialization from/to JSON, along with JSON Schema generation.

model_config

Default model configuration settings.

name: str = None
include_dirs: list[str] = None
compile_flags: list[str] = None
library_dirs: list[str] = None
libraries: list[str] = None
class bundle.pybind.resolved.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.

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

Bases: bundle.core.data.Data

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

spec: bundle.pybind.specs.ProjectSpec
modules: list[bundle.pybind.resolved.module.ModuleResolved] = None