mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Add NO_BUILD
and NO_BUILD_PACKAGE
environment variables (#11968)
<!-- 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 <!-- What's the purpose of the change? What does it do, and why? --> Similar to https://github.com/astral-sh/uv/pull/11399 This adds `UV_NO_BUILD` and `UV_NO_BUILD_PACKAGE` environment variables for non-pip commands. ## Test Plan <!-- How was it tested? --> Tested manually and with snapshot tests. Fixes #11963 Signed-off-by: Alex Lowe <alex@lowe.dev>
This commit is contained in:
parent
0f5b106dae
commit
7340ff72da
5 changed files with 102 additions and 2 deletions
|
@ -195,11 +195,21 @@ extract package metadata, if available.
|
|||
Equivalent to the `--no-binary-package` command line argument. If set, uv will
|
||||
not use pre-built wheels for the given space-delimited list of packages.
|
||||
|
||||
### `UV_NO_BUILD`
|
||||
|
||||
Equivalent to the `--no-build` command-line argument. If set, uv will not build
|
||||
source distributions.
|
||||
|
||||
### `UV_NO_BUILD_ISOLATION`
|
||||
|
||||
Equivalent to the `--no-build-isolation` command-line argument. If set, uv will
|
||||
skip isolation when building source distributions.
|
||||
|
||||
### `UV_NO_BUILD_PACKAGE`
|
||||
|
||||
Equivalent to the `--no-build-package` command line argument. If set, uv will
|
||||
not build source distributions for the given space-delimited list of packages.
|
||||
|
||||
### `UV_NO_CACHE`
|
||||
|
||||
Equivalent to the `--no-cache` command-line argument. If set, uv will not use the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue