PETSc.pxd no longer in petsc4py include directory
I have a Cython file in which I cimport
some things from petsc4py.PETSc
. Before 3.19, I could just make sure Cython sees petsc4py's include
directory (from petsc4py.get_include()
) and everything worked fine. Now it seems that PETSc.pxd
has moved and my code no longer compiles (unless I manually add the parent directory of petsc4py to Cython's includes, so that petsc4py/PETSc.pxd
resolves to the right file, but this is a pretty ugly hack). Seems to be due to the reorganization in !6147 (merged)?
cc @dalcinl