@@ -10,25 +10,25 @@ Additional operating system requirements are needed and outlined in the followin
1010
1111Regardless of the host, to build a Python distribution::
1212
13- $ uv run build.py
13+ $ uv run --no-dev build.py
1414
15- On Linux and macOS, ``./build.py `` can also be used.
15+ On Linux and macOS, ``./build.py `` can also be used; it uses `` uv run --no-dev `` via its shebang .
1616
1717To build a different version of Python::
1818
19- $ uv run build.py --python cpython-3.14
19+ $ uv run --no-dev build.py --python cpython-3.14
2020
2121Various build options can be specified::
2222
2323 # With profile-guided optimizations (generated code should be faster)
24- $ uv run build.py --options pgo
24+ $ uv run --no-dev build.py --options pgo
2525 # Produce a debug build.
26- $ uv run build.py --options debug
26+ $ uv run --no-dev build.py --options debug
2727 # Produce a free-threaded build without extra optimizations
28- $ uv run build.py --options freethreaded+noopt
28+ $ uv run --no-dev build.py --options freethreaded+noopt
2929
3030Different platforms support different build options.
31- ``uv run build.py --help `` will show the available build options and other usage information.
31+ ``uv run --no-dev build.py --help `` will show the available build options and other usage information.
3232
3333
3434Linux
@@ -102,6 +102,6 @@ the vcvars batch file, or by adjusting the ``PATH`` and environment variables.
102102
103103You will need to specify the path to ``sh.exe `` from cygwin::
104104
105- $ uv run build.py --sh c:\cygwin\bin\sh.exe
105+ $ uv run --no-dev build.py --sh c:\cygwin\bin\sh.exe
106106
107107To build a 32-bit x86 binary, simply use an ``x86 Native Tools Command Prompt `` instead of ``x64 ``.
0 commit comments