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.
Notes
Master user note: pybind11 header-only projects compile C++ directly. Use
pybind11_includeto get the header directory, then pass it to your C++ compiler as-I<dir>.Examples
>>> result = pybind11_only_prereqs() >>> "pybind11" in result True