pyopencl
pyopencl copied to clipboard
Generate nanobind type stubs
This is an attempt to make use of nanobind's stub generation
This does not work at all for now. Problems:
- [ ] How do we convince scikit-build-core to install
py.typed? - [ ]
nanobind.stubgenproduces a bunch of lines with@propertythat decorate nothing. - [ ] Can editable installs work?
- [ ]
nanobind.stubgenfails during build while trying to importpytools(because it's apparently trying to importpyopencl)