bundle.pybind.specs =================== .. py:module:: bundle.pybind.specs Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/bundle/pybind/specs/module/index /autoapi/bundle/pybind/specs/pkgconfig/index /autoapi/bundle/pybind/specs/project/index Classes ------- .. autoapisummary:: bundle.pybind.specs.PkgConfigSpec bundle.pybind.specs.ModuleSpec bundle.pybind.specs.ProjectSpec Package Contents ---------------- .. py:class:: PkgConfigSpec(/, **data: Any) Bases: :py:obj:`bundle.core.data.Data` This class defines the configuration options for the pkg-config dependency of a pybind11 extension module. .. attribute:: packages A list of package names to be resolved using pkg-config. :type: list[str] .. attribute:: extra_dirs A list of directories to search for pkg-config files. :type: list[str] .. py:attribute:: packages :type: list[str] :value: None .. py:attribute:: extra_dirs :type: list[str] :value: None .. py:class:: ModuleSpec(/, **data: Any) Bases: :py:obj:`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. .. py:attribute:: name :type: str .. py:attribute:: sources :type: list[str] .. py:attribute:: language :type: str :value: 'c++' .. py:attribute:: cpp_std :type: str :value: '20' .. py:attribute:: pkgconfig :type: bundle.pybind.specs.PkgConfigSpec :value: None .. py:attribute:: include_dirs :type: list[str] :value: None .. py:attribute:: extra_compile_args :type: list[str] :value: None .. py:attribute:: extra_link_args :type: list[str] :value: None .. py:class:: ProjectSpec(/, **data: Any) Bases: :py:obj:`bundle.core.data.Data` Root configuration holding all ModuleConfig entries. .. py:attribute:: modules :type: list[bundle.pybind.specs.module.ModuleSpec] :value: None