Skip to content

Commit

Permalink
Merge pull request #7124 from gpiks/document_wheel_no_binary
Browse files Browse the repository at this point in the history
Clarify `--no-binary` when enumerating packages and add an example
  • Loading branch information
pfmoore authored Oct 1, 2019
2 parents 7dc7b81 + f006a7b commit e3f9a72
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions docs/html/reference/pip_wheel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,9 @@ Examples

$ pip wheel --wheel-dir=/tmp/wheelhouse SomePackage
$ pip install --no-index --find-links=/tmp/wheelhouse SomePackage

#. Build a wheel for a package from source

::

$ pip wheel --no-binary SomePackage SomePackage
6 changes: 3 additions & 3 deletions src/pip/_internal/cli/cmdoptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,9 +454,9 @@ def no_binary():
help="Do not use binary packages. Can be supplied multiple times, and "
"each time adds to the existing value. Accepts either :all: to "
"disable all binary packages, :none: to empty the set, or one or "
"more package names with commas between them. Note that some "
"packages are tricky to compile and may fail to install when "
"this option is used on them.",
"more package names with commas between them (no colons). Note "
"that some packages are tricky to compile and may fail to "
"install when this option is used on them.",
)


Expand Down

0 comments on commit e3f9a72

Please sign in to comment.