Make the python bindings install prefix conform to python conventions by default and allow overriding with the EDM4HEP_PYTHON_INSTALLDIR cmake variable
Default prefix is now <prefix>/lib[64]/pythonX.Y/site-packages (where lib or lib64 is defined from the platform defaults and X.Y is the python major and minor version).
BEGINRELEASENOTES
EDM4HEP_PYTHON_INSTALLDIR
cmake variable<prefix>/lib[64]/pythonX.Y/site-packages
(wherelib
orlib64
is defined from the platform defaults andX.Y
is the python major and minor version).ENDRELEASENOTES
Fixes #220
See https://github.com/AIDASoft/podio/pull/599 for some discussion on how we arrived at this solution.