OS Manuals

/usr/bin/pybind11-config

Executable binaries for pybind11 installed for python3.12

From py3.12-pybind11-bin 3.1.0-r0 (os), captured 2026-11-05 by running pybind11-config --help (exit 0). permalink

usage: pybind11-config [-h] [--version] [--includes] [--cmakedir] [--pkgconfigdir]
                       [--extension-suffix] [--cflags] [--ldflags] [--embed] [--file FILE]

options:
  -h, --help          show this help message and exit
  --version           Print the version and exit.
  --includes          Include flags for both pybind11 and Python headers.
  --cmakedir          Print the CMake module directory, ideal for setting -Dpybind11_ROOT in
                      CMake.
  --pkgconfigdir      Print the pkgconfig directory, ideal for setting $PKG_CONFIG_PATH.
  --extension-suffix  Print the extension for a Python module
  --cflags            Print the compile flags for a simple extension (Unix-style compilers).
  --ldflags           Print the link flags for a simple extension (Unix-style compilers).
  --embed             Build for embedding instead of an extension; affects --ldflags and --file.
  --file FILE         Print a full command-line suffix for compiling the given file; the output
                      goes next to the source file (Unix-style compilers).
Options (10)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
--versionPrint the version and exit.help
--includesInclude flags for both pybind11 and Python headers.help
--cmakedirPrint the CMake module directory, ideal for setting -Dpybind11_ROOT in CMake.help
--pkgconfigdirPrint the pkgconfig directory, ideal for setting $PKG_CONFIG_PATH.help
--extension-suffixPrint the extension for a Python modulehelp
--cflagsPrint the compile flags for a simple extension (Unix-style compilers).help
--ldflagsPrint the link flags for a simple extension (Unix-style compilers).help
--embedBuild for embedding instead of an extension;help
--file FILEPrint a full command-line suffix for compiling the given file;help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.