mirror of https://github.com/astral-sh/uv
Add `UV_CUSTOM_COMPILE_COMMAND` to environment variable docs (#3382)
Closes https://github.com/astral-sh/uv/issues/3381.
This commit is contained in:
parent
ef92c38486
commit
7e17dd10a3
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue