macOS: build with python2 not possible
as the official PV 3.8.1 binary does not allow to load plugins, I wanted to try my plugin with the PV 3.7 binary which comes with Python 2.7.
However I failed to configure the current PVSB with python2. I always get
- Building projects: cxx11, nlohmannjson, python, paraview, pybind11
CMake Error at superbuild/projects/python.cmake:2 (message):
Python is enabled, but neither Python2 nor Python3 has been enabled.
Call Stack (most recent call first):
superbuild/cmake/SuperbuildMacros.cmake:977 (include)
superbuild/CMakeLists.txt:155 (superbuild_process_dependencies)
I did the following
cmake ../pvsb -DENABLE_python2:BOOL=ON -DUSE_SYSTEM_python2:BOOL=ON -DQt5_DIR=/usr/local/Cellar/qt/5.15.0/lib/cmake/Qt5
but also had no success on various playing with ccmake.
Via pyenv I set the global python to the 2.7.17 but this didn't help.