mirror of
https://github.com/astral-sh/uv
synced 2026-01-21 21:40:11 -05:00
Clarify requirements file format in docs (#17284)
Co-authored-by: William Woodruff <william@yossarian.net>
This commit is contained in:
committed by
GitHub
parent
0fafde3f6e
commit
d0088c1914
@@ -38,10 +38,11 @@ more details on getting started with a `pyproject.toml`.
|
||||
|
||||
## Using `requirements.in`
|
||||
|
||||
It is also common to use a lightweight `requirements.txt` format to declare the dependencies for the
|
||||
project. Each requirement is defined on its own line. Commonly, this file is called
|
||||
`requirements.in` to distinguish it from `requirements.txt` which is used for the locked
|
||||
dependencies.
|
||||
It is also common to use a lightweight
|
||||
[requirements file format](https://pip.pypa.io/en/stable/reference/requirements-file-format/) to
|
||||
declare the dependencies for the project. Each requirement is defined on its own line. Commonly,
|
||||
this file is called `requirements.in` to distinguish it from `requirements.txt` which is used for
|
||||
the locked dependencies.
|
||||
|
||||
To define dependencies in a `requirements.in` file:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user