1PIP-WHEEL(1) pip PIP-WHEEL(1)
2
3
4
6 pip-wheel - description of pip wheel command
7
9 Build Wheel archives for your requirements and dependencies.
10
11 Wheel is a built-package format, and offers the advantage of not recom‐
12 piling your software during every install. For more details, see the
13 wheel docs: https://wheel.readthedocs.io/en/latest/
14
15 Requirements: setuptools>=0.8, and wheel.
16
17 'pip wheel' uses the bdist_wheel setuptools extension from the wheel
18 package to build individual wheels.
19
20
22 python -m pip wheel [options] <requirement specifier> ...
23 python -m pip wheel [options] -r <requirements file> ...
24 python -m pip wheel [options] [-e] <vcs project url> ...
25 python -m pip wheel [options] [-e] <local project path> ...
26 python -m pip wheel [options] <archive url/path> ...
27
29 -w, --wheel-dir <dir>
30 Build wheels into <dir>, where the default is the current work‐
31 ing directory.
32
33 --no-binary <format_control>
34 Do not use binary packages. Can be supplied multiple times, and
35 each time adds to the existing value. Accepts either ":all:" to
36 disable all binary packages, ":none:" to empty the set (notice
37 the colons), or one or more package names with commas between
38 them (no colons). Note that some packages are tricky to compile
39 and may fail to install when this option is used on them.
40
41 --only-binary <format_control>
42 Do not use source packages. Can be supplied multiple times, and
43 each time adds to the existing value. Accepts either ":all:" to
44 disable all source packages, ":none:" to empty the set, or one
45 or more package names with commas between them. Packages without
46 binary distributions will fail to install when this option is
47 used on them.
48
49 --prefer-binary
50 Prefer older binary packages over newer source packages.
51
52 --no-build-isolation
53 Disable isolation when building a modern source distribution.
54 Build dependencies specified by PEP 518 must be already in‐
55 stalled if this option is used.
56
57 --use-pep517
58 Use PEP 517 for building source distributions (use
59 --no-use-pep517 to force legacy behaviour).
60
61 -c, --constraint <file>
62 Constrain versions using the given constraints file. This option
63 can be used multiple times.
64
65 -e, --editable <path/url>
66 Install a project in editable mode (i.e. setuptools "develop
67 mode") from a local project path or a VCS url.
68
69 -r, --requirement <file>
70 Install from the given requirements file. This option can be
71 used multiple times.
72
73 --src <dir>
74 Directory to check out editable projects into. The default in a
75 virtualenv is "<venv path>/src". The default for global installs
76 is "<current dir>/src".
77
78 --ignore-requires-python
79 Ignore the Requires-Python information.
80
81 --no-deps
82 Don't install package dependencies.
83
84 --progress-bar <progress_bar>
85 Specify type of progress to be displayed
86 [off|on|ascii|pretty|emoji] (default: on)
87
88 --no-verify
89 Don't verify if built wheel is valid.
90
91 --build-option <options>
92 Extra arguments to be supplied to 'setup.py bdist_wheel'.
93
94 --global-option <options>
95 Extra global options to be supplied to the setup.py call before
96 the install or bdist_wheel command.
97
98 --pre Include pre-release and development versions. By default, pip
99 only finds stable versions.
100
101 --require-hashes
102 Require a hash to check each requirement against, for repeatable
103 installs. This option is implied when any package in a require‐
104 ments file has a --hash option.
105
106 --no-clean
107 Don't clean up build directories.
108
109
111 pip developers
112
114 The pip developers
115
116
117
118
11921.3 Jan 21, 2022 PIP-WHEEL(1)