Skip to content

Use the static loader when generating .pyi files

David Gobbi requested to merge dgobbi/vtk:generate-pyi-static-import into master

The script needs to import the modules that it is generating .pyi files for. For static builds, this means that it must import the special "static importer" module.

Note that VTK's own "static importer" module is already loaded by vtkmodules/, but similar mechanisms are not always present (or even desired) for other wrapped packages, e.g. Paraview's.

Backport: paraview/release

Merge request reports