wjakob / nanobind

nanobind: tiny and efficient C++/Python bindings
BSD 3-Clause "New" or "Revised" License
2.14k stars 161 forks source link

[OTHER]: Stub generation + editable install? #536

Closed kj4tmp closed 2 months ago

kj4tmp commented 2 months ago

How do I have stub generation + editable install (pip install -e .)?

I'm trying to get my vscode to show type hints for my extension module during development. I believe this is related to stub generation and editable installs. I have installed nanobind using the git submodule method.

This is my repo's cmakelists: https://github.com/kj4tmp/pyethercat/blob/main/CMakeLists.txt

kj4tmp commented 2 months ago

sorry, moving to a discussion

kj4tmp commented 2 months ago

moving to discussion