-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
stubs: requestOUTDATED! Request to add stubs for a new package to typeshedOUTDATED! Request to add stubs for a new package to typeshed
Description
zstd is an extension library written in C for Python. I'd like to add stub files for it. However, I don't know whether I should make a pull request on their repo or add them to typeshed.
I'd like to make a PR on their repo, the issue is I don't know how to provide stub files along with the module itself. I tried to add the stub files in the src/
directory, both as zstd.pyi
and __init__.pyi
, then I tried to add these files to the package_data
section in the setup.py
file. Nonetheless, the stubs seem to get ignored in all cases; testing on a project I have which depends on zstd, I keep getting:
error: Cannot find implementation or library stub for module named "zstd" [import]
Is it even possible to ship those .pyi directly with the package? If so, how can I do so? Or should I just add them to typeshed anyway? Thanks!
Metadata
Metadata
Assignees
Labels
stubs: requestOUTDATED! Request to add stubs for a new package to typeshedOUTDATED! Request to add stubs for a new package to typeshed