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
Labels
⭐ enhancement
Improvements for existing features
Comments
noirbizarre
added a commit
to noirbizarre/pdm
that referenced
this issue
Apr 15, 2024
noirbizarre
added a commit
to noirbizarre/pdm
that referenced
this issue
Apr 15, 2024
Merged
2 tasks
noirbizarre
added a commit
to noirbizarre/pdm
that referenced
this issue
Apr 15, 2024
noirbizarre
added a commit
to noirbizarre/pdm
that referenced
this issue
Apr 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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!
The text was updated successfully, but these errors were encountered: