I am building Cadabra for Altlinux distribution now.
There are a few changes which may be useful:
use PYTHON_SITE_PATH in c++ code, without rebuilding it in the same way as in CMakeLists. I need PYTHON_SITE_PATH="/usr/lib64/python3/site-packages" which can not be used with old logic (/lib/ and PY_MINOR_VERSION were hardcoded there).
Allow explicit setting of PYTHON_SITE_PATH/PYTHON_SITE_DIST. Previously it was only possible to choose between default option and "debian" option.
Remove "debian" option, there is no need for it if one can set PYTHON_SITE_PATH. This commit can break debian builds, of course.
Allow bilding with access to git program but without git repo.
I am building Cadabra for Altlinux distribution now. There are a few changes which may be useful:
use PYTHON_SITE_PATH in c++ code, without rebuilding it in the same way as in CMakeLists. I need PYTHON_SITE_PATH="/usr/lib64/python3/site-packages" which can not be used with old logic (/lib/ and PY_MINOR_VERSION were hardcoded there).
Allow explicit setting of PYTHON_SITE_PATH/PYTHON_SITE_DIST. Previously it was only possible to choose between default option and "debian" option.
Remove "debian" option, there is no need for it if one can set PYTHON_SITE_PATH. This commit can break debian builds, of course.
Allow bilding with access to git program but without git repo.