-
Notifications
You must be signed in to change notification settings - Fork 82
Option to import pyi stubs as modules #978
Copy link
Copy link
Open
Description
The usecase for this is when we are building the documentation and using autodoc to avoid import failures and avoid cmake building. The user could have something like this setup
[[tool.scikit-build.overrides]]
if.any.env.READTHEDOCS = true
if.any.env.BUILD_DOCS = true
wheel.cmake = falseThe logic to be added is that if there is a .pyi stub file without a .py original, then:
- regular: copy the stub file to a
.pyfile - edittable installs: probably
ScikitBuildRedirectingFinderneeds to be changed to detect.pyifiles as modules
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels