Skip to content

Include stub file in wheels for better autocompletion (e.g., in VSCode)

Mateusz C requested to merge generate_stubs into develop

pybind11-stubgen script is used to generate the .pyi stubs during the build. In order to do so, plugging into CMake was needed with a bunch of tricks.

This solution seems to be heavily dependent on scikit-build-core.

Edited by Anton Joubert

Merge request reports