Add `UV_CUSTOM_COMPILE_COMMAND` to environment variable docs (#3382)

Closes https://github.com/astral-sh/uv/issues/3381.
This commit is contained in:
Charlie Marsh 2024-05-05 19:33:27 -04:00 committed by GitHub
parent ef92c38486
commit 7e17dd10a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -510,6 +510,9 @@ uv accepts the following command-line arguments as environment variables:
as a link mode.
- `UV_NO_BUILD_ISOLATION`: Equivalent to the `--no-build-isolation` command-line argument. If set,
uv will skip isolation when building source distributions.
- `UV_CUSTOM_COMPILE_COMMAND`: Used to override `uv` in the output header of the `requirements.txt`
files generated by `uv pip compile`. Intended for use-cases in which `uv pip compile` is called
from within a wrapper script, to include the name of the wrapper script in the output file.
In each case, the corresponding command-line argument takes precedence over an environment variable.