File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,9 @@ $ python -m build
27
27
```
28
28
29
29
This will build the package in an isolated environment, generating a
30
- source-distribution and wheel in the directory ` dist/ ` .
31
- See the [ documentation] ( https://build.pypa.io ) for full information.
30
+ source-distribution and wheel in the directory ` dist/ ` . See the
31
+ [ documentation] ( https://build.pypa.io ) for full information. Build is also
32
+ available via the command line as ` pyproject-build ` once installed.
32
33
33
34
### Common arguments
34
35
@@ -58,12 +59,18 @@ $ pipx run build
58
59
59
60
#### uv
60
61
61
- If you want to use [ uv] [ ] to speed up the virtual environment creation, you can use
62
- ` --installer=uv ` . You can get a Python wheel for ` uv ` with the ` [uv] ` extra.
63
- Combining both suggestions yields the following :
62
+ If you want to use [ uv] [ ] to speed up the virtual environment creation, you can
63
+ use ` --installer=uv ` . You can get a Python wheel for ` uv ` with the ` [uv] `
64
+ extra. For example, using pipx like above :
64
65
65
66
``` console
66
- $ pipx run build[uv] --installer=uv
67
+ $ pipx run ' build[uv]' --installer uv
68
+ ```
69
+
70
+ If you already have uv, you don't need the extra. For example:
71
+
72
+ ``` console
73
+ $ uvx --from build pyproject-build --installer uv
67
74
```
68
75
69
76
#### cibuildwheel
You can’t perform that action at this time.
0 commit comments