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

Pass arguments to pep517 command via MATURIN_PEP517_ARGS env var #786

Merged
merged 1 commit into from
Jan 24, 2022

Conversation

messense
Copy link
Member

Do you know if there currently is any way to actually use config_settings? Last time I checked it wasn't usable with pip and the general from the python packaging discourse consensus was that it's effectively unspecified so we're not doing anything with it.

Yes, this is what I've found out too from further reading. It sounds like config_settings doesn't work, so in general we currently don't have a way to pass options to maturin during PEP 517 build. If you don't like having a MATURIN_PROFILE env var an alternative could be a MATURIN_PEP517_ARGS environment variable which adds arguments to the maturin pep517 Rust internal command.

Originally posted by @davidhewitt in #774 (comment)

cc @ionenwks

@netlify
Copy link

netlify bot commented Jan 23, 2022

✔️ Deploy Preview for maturin-guide ready!

🔨 Explore the source changes: 6d9e26f

🔍 Inspect the deploy log: https://app.netlify.com/sites/maturin-guide/deploys/61ed4ea3bb1403000767cba1

😎 Browse the preview: https://deploy-preview-786--maturin-guide.netlify.app

maturin/__init__.py Outdated Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

1 participant