reomove pybind11 sources from dune-common
Background
At this point in time pybind11
headers are included in dune-common
. The reason for that was that pybind11
was very actively developed and non compatible changes were not uncommon at the beginning. So we wanted control over the version that is being used. That is not that much of an issue anymore.
Suggestion
Remove the package from dune-common. Have a cmake find with a required version for pybind11 (equals or >=) and if that is not found in the system, we can install pybind11 into the venv which can be deactivated by the user via some flag (or the user can install a newer version by hand and get dune to install the required version into the venv by setting some flag) For the packages I would suggest to have installation done by dune if the packages is not found.
Related: discussion in !811 (closed) and the discussion in dune-istl!386.