-
Notifications
You must be signed in to change notification settings - Fork 788
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
Expose pyo3-build-config
APIs for maturin
#1627
Comments
I'm interested in taking this on, but I'm not sure I completely understand. I get that the current method of getting the config using It seems there are a few possible ways to handle this in pyo3:
It would be nice to pair this with a PR in maturin for whatever changes would be needed there. I am happy to be the implementer there as well but will definitely need help figuring out where that might go. |
Some help with this would be awesome!
That is the design that I was thinking. There's also a couple of other functions that would be nice to expose (see below).
Yep, so at the moment If you look at the following file, you'll recognise pretty much all of it is logic that also lives in https://github.com/PyO3/maturin/blob/main/src/cross_compile.rs That file was basically a copypasta of bits of PyO3's build script some time ago before we made I'm happy to help feed back on the other functions we'd need if you'd like pointers on those too. |
Thanks - this is super helpful and seems like enough for me to get started. I'll come back here when I have more questions. |
Okay - I'm just documenting my process/progress here, but please let me know if I'm off course. Otherwise I will work on a PR next. I found these similar items in the two projects. My plan is to change the pyo3 functions/structs to be compatible with the apparent needs of the maturin equivalents and make them public. Then maturin can option in the pyo3-build-config implementations.
|
👍 that sounds great! |
Implemented in #1996. Thanks again! |
See #1622 (comment)
The text was updated successfully, but these errors were encountered: