pyopencl icon indicating copy to clipboard operation
pyopencl copied to clipboard

Generate nanobind type stubs

Open inducer opened this issue 1 year ago • 0 comments

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.stubgen produces a bunch of lines with @property that decorate nothing.
  • [ ] Can editable installs work?
  • [ ] nanobind.stubgen fails during build while trying to import pytools (because it's apparently trying to import pyopencl)

inducer avatar Aug 02 '24 21:08 inducer