HELP: how to configure Conda-Forge Feedstock for Rust/Python Mixed Projects?
I currently have no idea how to configure Conda to cross-compile and build this project in Conda Forge.
Anyone with knowledge, please contact me:
https://github.com/conda-forge/rateslib-feedstock/pull/11#issuecomment-2143048604
See also https://conda.discourse.group/t/recipes-templates-for-python-project-with-rust-extensions/755/2
I've no experience of this myself, but I note from the conda discourse thread you were looking at pydantic as a sample. The pydantic package itself is pure python, the Rust extension is pydantic-core on which it depends.
The meta file for that is here: https://github.com/conda-forge/pydantic-core-feedstock/blob/main/recipe/meta.yaml
Note in particular how compilers have been added as required build dependencies.
Another package I've seen sited as a Rust example in another context is cryptography. It looks like it has a similar set-up: https://github.com/conda-forge/cryptography-feedstock/blob/main/recipe/meta.yaml#L52
Hope this might prove of some help.
Thanks @NickAltmann I will take a look at this and see if I can piece something together from it.
closed as miraculously solved by above!