Conversation
|
Thanks for the PR. I'll take a look as soon as I've got time. |
|
Exactly which command did you use to generate this stub file? |
pybind11-stubgen thinqpboAnd then I edited the result manually. |
|
I haven't created stubs before, so I'm not what the best approach is for Cython projects like this, where we distribute both wheels and sdist. As far as I can tell this PR does not currently add working stubs to the project. The immediate issue is that the I've tried moving |
|
Is this solution working for you? Would you be willing to fix the stubs so that they will be correctly included in the package and provide working stubs in applications like VS Code? |
|
It's also my first time packaging a library, so I'm not 100% sure of what I'm doing. I also heard that you can add |
|
@rambip , I made some changes and it appears that the stub is now correctly included and it seems to work when I install the package. Could you please check that it works as intended for you? |
This should close #8
The type annotations are not perfect (for example, boolean types for labels, and no return type), but it should be ok for most uses.