mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00
Add UV_COMPILE_BYTECODE
environment variable (#6530)
## Summary Closes https://github.com/astral-sh/uv/issues/6493.
This commit is contained in:
parent
d0dda3798d
commit
9d1cd8e48c
3 changed files with 26 additions and 2 deletions
|
@ -61,6 +61,8 @@ uv accepts the following command-line arguments as environment variables:
|
|||
- `UV_PYTHON_DOWNLOADS`: Equivalent to the
|
||||
[`python-downloads`](../reference/settings.md#python-downloads) setting and, when disabled, the
|
||||
`--no-python-downloads` option. Whether uv should allow Python downloads.
|
||||
- `UV_COMPILE_BYTECODE`: Equivalent to the `--compile-bytecode` command-line argument. If set, uv
|
||||
will compile Python source files to bytecode after installation.
|
||||
|
||||
In each case, the corresponding command-line argument takes precedence over an environment variable.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue