dotfiles/vscode/.vscode/extensions/ms-python.vscode-pylance-2024.7.1/dist/stub-generation/README.md
Errol Sancaktar 5f8db31398 alacritty
2024-07-15 17:06:13 -06:00

13 lines
445 B
Markdown

## Stub-Generation for native stubs
This folder has a couple of python scripts used for extracting stubs from native python libs.
You run it like so:
- python -m pip install <lib you want to scrape>
- python -m scrape_lib <path to site-packages/lib name> <path to site-packages> <output folder>
Stubs will be generated in the output folder. After that's done, you can copy them over the bundled stubs.
See the launch.json for examples.