mirror of https://github.com/astral-sh/uv
Update `uv pip compile` args in layout.md (#16155)
<!-- 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 Corrects example command for generating pylock.toml from requirements.in ## Test Plan Local preview
This commit is contained in:
parent
83f738074d
commit
111ed6fc94
|
|
@ -99,6 +99,6 @@ However, uv supports `pylock.toml` as an export target and in the `uv pip` CLI.
|
|||
|
||||
- To export a `uv.lock` to the `pylock.toml` format, run: `uv export -o pylock.toml`
|
||||
- To generate a `pylock.toml` file from a set of requirements, run:
|
||||
`uv pip compile -o pylock.toml -r requirements.in`
|
||||
`uv pip compile requirements.in -o pylock.toml`
|
||||
- To install from a `pylock.toml` file, run: `uv pip sync pylock.toml` or
|
||||
`uv pip install -r pylock.toml`
|
||||
|
|
|
|||
Loading…
Reference in New Issue