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

Allow setting PDM_PREFER_BINARY in pyproject.toml #2656

Closed
2e0byo opened this issue Feb 28, 2024 · 0 comments · Fixed by #2819
Closed

Allow setting PDM_PREFER_BINARY in pyproject.toml #2656

2e0byo opened this issue Feb 28, 2024 · 0 comments · Fixed by #2819
Labels
⭐ enhancement Improvements for existing features

Comments

@2e0byo
Copy link
Contributor

2e0byo commented Feb 28, 2024

Currently to make pdm prefer binaries (a sensible default when working teams across different archs and machines) you have to use an env var. It would be nice to be able to set this in pyproject.toml so it happens automatically.

I'm guessing by the use of an env var that passing the state around is non-trivial. What about allowing setting any env var in pyproject.toml and having pdm set it? (extending what's already possible for tool.pdm.scripts)

If this is already possible and I've missed it, sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐ enhancement Improvements for existing features
Projects
None yet
1 participant