I am trying to compile a shared object file to be used as a python module (this is done using pybind). As I understand it, the only thing necessary is the relevant include files for the Python API. In the CPython docs it says that this will not necessarily work for other Python implementations. Is there some way to make this work for the specific Python implementation included in Paraview?
You’ll need to compile with a Python that matches the Python version in the ParaView build (major/minor). This is currently 3.10. We use a fairly stock Python build other than that.