mirror of https://github.com/astral-sh/uv
Replace incorrect ``--source`` and ``--binary`` flags with correct ``--sdist`` and ``--wheel`` flags in ``uv build`` (#7156)
## Summary Replace incorrect ``--source`` and ``--binary`` flags with correct ``--sdist`` and ``--wheel`` flags in uv build.  ## Test Plan Run the server locally 
This commit is contained in:
parent
a178051e81
commit
aa3297a8d7
|
|
@ -581,9 +581,9 @@ You can build the project in a different directory by providing a path to `uv bu
|
||||||
`uv build` will first build a source distribution, and then build a binary distribution (wheel) from
|
`uv build` will first build a source distribution, and then build a binary distribution (wheel) from
|
||||||
that source distribution.
|
that source distribution.
|
||||||
|
|
||||||
You can limit `uv build` to building a source distribution with `uv build --source`, a binary
|
You can limit `uv build` to building a source distribution with `uv build --sdist`, a binary
|
||||||
distribution with `uv build --binary`, or build both distributions from source with
|
distribution with `uv build --wheel`, or build both distributions from source with
|
||||||
`uv build --source --binary`.
|
`uv build --sdist --wheel`.
|
||||||
|
|
||||||
`uv build` accepts `--build-constraints`, which can be used to constrain the versions of any build
|
`uv build` accepts `--build-constraints`, which can be used to constrain the versions of any build
|
||||||
requirements during the build process. When coupled with `--require-hashes`, uv will enforce that
|
requirements during the build process. When coupled with `--require-hashes`, uv will enforce that
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue