mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-13 09:03:54 +00:00
3232e59b83
On very incomplete python installations (e.g. within Docker), it's possible that distutils is not installed. In that case, the ``execute_command`` statement that queries distutils for the Python module extension fails, and pybind11 uses the empty string. This commit adds an extra check that causes a CMake failure with more actionable information (just spent a lot of time trying to track down this problem :)) |
||
---|---|---|
.. | ||
check-style.sh | ||
cmake_uninstall.cmake.in | ||
FindCatch.cmake | ||
FindEigen3.cmake | ||
FindPythonLibsNew.cmake | ||
libsize.py | ||
pybind11Common.cmake | ||
pybind11Config.cmake.in | ||
pybind11NewTools.cmake | ||
pybind11Tools.cmake | ||
pyproject.toml | ||
setup_global.py.in | ||
setup_main.py.in |