[Buildroot] [PATCH 1/1] python-pybind: new package
asafka7 at gmail.com
Thu Jun 11 18:14:04 UTC 2020
I'm not sure pybind11 is just a "regular" python package.
First, it needs C++11 so we have to make sure the toolchain supports
that in order to be able to actually compile the generated pybind11
Secondly, the installation through setup.py just installs the pybind11
headers and it doesn't give any way for C++ projects to locate the
package. For example, this project won't find pybind11 because it uses
find_package(pybind11...) in it's CMakeLists.txt:
https://github.com/pybind/pybind11_json. The installation of pybind11
using CMake gives a solution to this problem.
Those considerations have been taken into account in a previous patch
I sent to the mailing list few weeks ago:
More information about the buildroot