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

HELP: how to configure Conda-Forge Feedstock for Rust/Python Mixed Projects? #191

Open
attack68 opened this issue Jun 1, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@attack68
Copy link
Owner

attack68 commented Jun 1, 2024

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:

conda-forge/rateslib-feedstock#11 (comment)

@attack68 attack68 added the help wanted Extra attention is needed label Jun 1, 2024
@attack68
Copy link
Owner Author

@NickAltmann
Copy link
Contributor

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.

@attack68
Copy link
Owner Author

attack68 commented Oct 4, 2024

Thanks @NickAltmann I will take a look at this and see if I can piece something together from it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants