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

Add PyPy support #34

Open
nicholasjng opened this issue Jun 7, 2024 · 1 comment
Open

Add PyPy support #34

nicholasjng opened this issue Jun 7, 2024 · 1 comment

Comments

@nicholasjng
Copy link
Owner

nanobind supports PyPy bindings builds, and so should nanobind-bazel.

Currently, the CPython header dep is hardcoded, but building with PyPy instead should work similarly.

To the best of my knowledge, rules_python has no PyPy support, so users are (currently) on their own when supplying the headers. It's possible today to monkey-patch the Python building the wheel with a Bazel toolchain declaration, which could be a way forward here.

Needs investigation on my part into how to build C++ extensions for PyPy.

@nicholasjng
Copy link
Owner Author

Follow-up of #1.

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