uv/docs/configuration
Alex Lowe ac06e1318a
Add NO_BINARY and NO_BINARY_PACKAGE environment variables (#11399)
<!--
Thank you for contributing to uv! To help us out with reviewing, please
consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->

## Summary

This adds `NO_BINARY` and `NO_BINARY_PACKAGE` environment variables to
the uv CLI, allowing the user to specify packages to build from source
using environment variables. Its not a complete fix for #4291 as it does
not handle the `pip` subcommand.

## Test Plan

This was tested by running `uv sync` with various `UV_NO_BINARY` and
`UV_NO_BINARY_PACKAGE` environment variables set and checking that the
correct set of packages were compiled rather than taken from pre-built
wheels.

---------

Co-authored-by: Zanie Blue <contact@zanie.dev>
2025-02-10 21:11:46 +00:00
..
authentication.md Fix .netrc typo in authentication docs (#8521) 2024-10-24 07:58:39 -05:00
environment.md Add NO_BINARY and NO_BINARY_PACKAGE environment variables (#11399) 2025-02-10 21:11:46 +00:00
files.md Use [[index]] API in configuration example (#9065) 2024-11-12 14:43:54 -05:00
index.md Add support for named and explicit indexes (#7481) 2024-10-15 18:24:23 -04:00
indexes.md Remove remaining references to deprecated first-match (#10038) 2024-12-19 14:37:27 -05:00
installer.md Supplement missing separators for UV_INSTALL_DIR in Windows. (#9507) 2024-12-19 09:53:49 -06:00