Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate pyi for pyluxcore #617

Open
Pyrolistical opened this issue Apr 19, 2023 · 1 comment
Open

Generate pyi for pyluxcore #617

Pyrolistical opened this issue Apr 19, 2023 · 1 comment

Comments

@Pyrolistical
Copy link

Pyrolistical commented Apr 19, 2023

Python pyi file should be provide along side so/dylib/pyd files to provide typing information. This would make pyluxcore more self documenting.

I tried mypy's stubgen, but the output is pretty bad

There is probably a smarter way to directly generate pyluxcore.pyi from https://github.com/LuxCoreRender/LuxCore/blob/master/src/luxcore/pyluxcore.cpp

In the worse case a pyluxcore.pyi could be hand maintained.

@Pyrolistical Pyrolistical changed the title Generate pyi for pyluxcore.pyd Generate pyi for pyluxcore.cpp Apr 19, 2023
@Pyrolistical Pyrolistical changed the title Generate pyi for pyluxcore.cpp Generate pyi for pyluxcore Apr 19, 2023
@Pyrolistical
Copy link
Author

Could use boostorg/python#277

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant