pex-tool / pex

A tool for generating .pex (Python EXecutable) files, lock files and venvs.
https://docs.pex-tool.org/
Apache License 2.0
2.53k stars 259 forks source link

Support Pip's `--only-binary` / `--no-binary`. #2343

Closed jsirois closed 8 months ago

jsirois commented 8 months ago

This would require being able to parse the flag in requirements files as well as providing Pex top-level flags for the option as well.

jsirois commented 8 months ago

The status-quo with --prefer-binary is just to plumb the option and not attempt to read it from requirements files. I'll stick with that status quo here and I've filed #2345 to track being able to augment CLI options via requirement file parsing.