Add docs for UV_PROJECT_ENVIRONMENT (#6987)

This commit is contained in:
Zanie Blue 2024-09-03 18:47:05 -05:00 committed by GitHub
parent 50d7b9c38a
commit 88ba1e90a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 41 additions and 0 deletions

View file

@ -189,6 +189,13 @@ Or, you can use `uv run` for any commands that require the environment:
RUN uv run some_script.py
```
!!! tip
Alternatively, the
[`UV_PROJECT_ENVIRONMENT` setting](../../concepts/projects.md#custom-project-environment-paths) can
be set before syncing to install to the system Python environment and skip environment activation
entirely.
### Using installed tools
To use installed tools, ensure the [tool bin directory](../../concepts/tools.md#the-bin-directory)