From 7e17dd10a34c444af4e4a228c4d007d61d066795 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sun, 5 May 2024 19:33:27 -0400 Subject: [PATCH] Add `UV_CUSTOM_COMPILE_COMMAND` to environment variable docs (#3382) Closes https://github.com/astral-sh/uv/issues/3381. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 0dc5e0c4a..32a9c3a71 100644 --- a/README.md +++ b/README.md @@ -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.