PIP-WHEEL(1)
πΈ NAME πΈ
pip-wheel β the manual page for the pip wheel command, bestie. Itβs literally right here in the pip manual, and itβs giving build-tool main character energy. π
β¨ DESCRIPTION β¨
Okay so pip wheel builds Wheel archives for your requirements and dependencies. A Wheel is a built-package format, and the iconic advantage is that it means you do not have to recompile your software during every single install. For the whole lore, see the wheel docs: https://wheel.readthedocs.io/en/latest/
pip wheel uses the build system interface as described here: https://pip.pypa.io/en/stable/reference/build-system/
π οΈ USAGE π οΈ
python -m pip wheel [options] <requirement specifier> ...
python -m pip wheel [options] -r <requirements file> ...
python -m pip wheel [options] [-e] <vcs project url> ...
python -m pip wheel [options] [-e] <local project path> ...
python -m pip wheel [options] <archive url/path> ...
π OPTIONS π
-w,--wheel-dir <dir>β Build wheels into<dir>, where the default is the current working directory. Yes, it just drops them right where youβre standing. π«Ά--no-binary <format_control>β 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 (notice the colons, bestie), or one or more package names with commas between them (no colons).
Heads up: some packages are tricky to compile and may fail to install when this option is used on them. π
--only-binary <format_control>β Do not use source packages. Can be supplied multiple times, and each time adds to the existing value. Accepts either:all:to disable all source packages,:none:to empty the set, or one or more package names with commas between them.
Packages without binary distributions will fail to install when this option is used on them. π
--prefer-binaryβ Prefer older binary packages over newer source packages. Older binary > newer source, no cap. β¨--no-build-isolationβ Disable isolation when building a modern source distribution.
Build dependencies specified by PEP 518 must already be installed if this option is used. So like, pre-install your little build besties first. π§
--use-pep517β Use PEP 517 for building source distributions (use--no-use-pep517to force legacy behaviour). Slay, but the legacy behaviour is still right there. π--check-build-dependenciesβ Check the build dependencies when PEP517 is used. A tiny vibe check for your build deps. π₯-c,--constraint <file>β Constrain versions using the given constraints file. This option can be used multiple times. Stack those constraints, honestly. π-e,--editable <path/url>β Install a project in editable mode (i.e. setuptools "develop mode") from a local project path or a VCS url. Very βlive your truth, edit in placeβ of it. π-r,--requirement <file>β Install from the given requirements file. This option can be used multiple times. Yes, multiple times. Requirements files can absolutely be a whole stack. π¦--src <dir>β Directory to check out editable projects into. The default in a virtualenv is<venv path>/src. The default for global installs is<current dir>/src. β¨--ignore-requires-pythonβ Ignore the Requires-Python information. Just ignore it, bestie. π--no-depsβ Donβt install package dependencies. Youβre on your own, and honestly thatβs a choice. π--progress-bar <progress_bar>β Specify whether the progress bar should be used [on,off] (default:on). Keep the little bar, itβs cute. π--no-verifyβ Donβt verify if built wheel is valid. No vibe check for the wheel. π-C,--config-settings <settings>β Configuration settings to be passed to the PEP 517 build backend. Settings take the formKEY=VALUE. Use multiple--config-settingsoptions to pass multiple keys to the backend. π«Ά--build-option <options>β Extra arguments to be supplied tosetup.py bdist_wheel. Giving the build command little extras. π--global-option <options>β Extra global options to be supplied to thesetup.pycall before theinstallorbdist_wheelcommand. πΈ--preβ Include pre-release and development versions. By default,piponly finds stable versions. Pre-release girlies, this oneβs for you. π--require-hashesβ Require a hash to check each requirement against, for repeatable installs. This option is implied when any package in a requirements file has a--hashoption. Integrity check, periodt. π₯--no-cleanβ Donβt clean up build directories. Leave the mess, honestly. π«Ά
π AUTHOR π
pip developers β iconic behavior, truly.
π COPYRIGHT π
The pip developers β protected and serving.
π Thatβs the tea, bestie: this page is from pip version 23.2, dated Jun 25, 2025. Go build those wheels and make them slay! π
π¦ where this page comes from
- centos-stream 9: python3.12-pip 23.2.1-5.el9 Β· MIT and Python and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0 and (ASL 2.0 or BSD)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms