Skip to content

Commit e3f9a72

Browse files
authored
Merge pull request #7124 from gpiks/document_wheel_no_binary
Clarify `--no-binary` when enumerating packages and add an example
2 parents 7dc7b81 + f006a7b commit e3f9a72

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

docs/html/reference/pip_wheel.rst

+6
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,9 @@ Examples
7171

7272
$ pip wheel --wheel-dir=/tmp/wheelhouse SomePackage
7373
$ pip install --no-index --find-links=/tmp/wheelhouse SomePackage
74+
75+
#. Build a wheel for a package from source
76+
77+
::
78+
79+
$ pip wheel --no-binary SomePackage SomePackage

src/pip/_internal/cli/cmdoptions.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -454,9 +454,9 @@ def no_binary():
454454
help="Do not use binary packages. Can be supplied multiple times, and "
455455
"each time adds to the existing value. Accepts either :all: to "
456456
"disable all binary packages, :none: to empty the set, or one or "
457-
"more package names with commas between them. Note that some "
458-
"packages are tricky to compile and may fail to install when "
459-
"this option is used on them.",
457+
"more package names with commas between them (no colons). Note "
458+
"that some packages are tricky to compile and may fail to "
459+
"install when this option is used on them.",
460460
)
461461

462462

0 commit comments

Comments
 (0)