bundle.pybind.specs.module

Classes

ModuleSpec

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

Module Contents

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

Bases: bundle.core.data.Data

This class defines the configuration options required to build a pybind11 extension module. It encapsulates all relevant build parameters, such as source files, language standard, compiler and linker arguments, and package configuration dependencies.

name: str
sources: list[str]
language: str = 'c++'
cpp_std: str = '20'
pkgconfig: bundle.pybind.specs.PkgConfigSpec = None
include_dirs: list[str] = None
extra_compile_args: list[str] = None