pybind11_only_prereqs#

scikitplot.cython.pybind11_only_prereqs()[source]#

Check prerequisites for Scenario 4: master, pybind11 only.

Only pybind11 is required. Cython and setuptools are NOT required for header-only pybind11 projects that use CMake or a custom build.

Returns:
dict[str, Any]

Keys: pybind11.

Return type:

dict[str, Any]

Notes

Master user note: pybind11 header-only projects compile C++ directly. Use pybind11_include to get the header directory, then pass it to your C++ compiler as -I<dir>.

Examples

>>> result = pybind11_only_prereqs()
>>> "pybind11" in result
True