Skip to content

Commit 717af2c

Browse files
committed
DOC: minor tweak to docs on invoking pip/build
Addresses a comment on issue 704, where a user got tripped up by `python -m build` building an sdist first (and that's typically not what you want).
1 parent 856debc commit 717af2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/how-to-guides/config-settings.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ the ``-C`` short command line option:
2424

2525
.. code-block:: console
2626
27-
$ python -m build \
27+
$ python -m build --wheel \
2828
-Csetup-args="-Doption=true" \
2929
-Csetup-args="-Dvalue=1" \
3030
-Ccompile-args="-j6"
@@ -34,6 +34,7 @@ the ``-C`` short command line option:
3434

3535
.. code-block:: console
3636
37+
$ # note: pip >=23.1 also accepts -C instead of --config-settings
3738
$ python -m pip wheel . \
3839
--config-settings=setup-args="-Doption=disable" \
3940
--config-settings=compile-args="-j6"

0 commit comments

Comments
 (0)