PIP-WHEEL(1)
π PIP-WHEEL(1) π
okay bestie, welcome to the pip-wheel page from the pip manual β yes that pip, the one you already have seventeen opinions about π
β¨ NAME β¨
pip-wheel β literally just the description of the pip wheel command, no cap π
πΈ DESCRIPTION πΈ
So what does it do? It builds Wheel archives for your requirements and dependencies. That's the whole vibe π¦
Wheel is a built-package format, and the way it slays is that it offers the advantage of not recompiling your software during every install. Imagine not sitting there watching a C compiler churn for nine minutes every single time. Iconic behaviour honestly π
For more details, see the wheel docs: https://wheel.readthedocs.io/en/latest/
And pip wheel uses the build system interface as described here: https://pip.pypa.io/en/stable/reference/build-system/ π§
β USAGE β
here's the shape of it, all five forms, keep them exactly like this:
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> ...
pick your fighter π
π OPTIONS π
okay this is the long part, but every single one matters, so stay with me:
-w,--wheel-dir <dir>β build wheels into<dir>, where the default is the current working directory. put them somewhere cute π--no-binary <format_control>β do not use binary packages, periodt. can be supplied multiple times, and each time adds to the existing value. it accepts either:all:to disable all binary packages,:none:to empty the set (notice the colons, bestie, they're load-bearing π«Ά), 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>β the mirror image, 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. and ngl, 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. grandma binary but make it a strategy πΈ--no-build-isolationβ disable isolation when building a modern source distribution. build dependencies specified by PEP 518 must be already installed if this option is used. like, no take-backs π₯--use-pep517β use PEP 517 for building source distributions (use--no-use-pep517to force legacy behaviour). glow-up mode vs legacy mode β¨--check-build-dependenciesβ check the build dependencies when PEP517 is used π¦-c,--constraint <file>β constrain versions using the given constraints file. this option can be used multiple times π-e,--editable <path/url>β install a project in editable mode (i.e. setuptools "develop mode") from a local project path or a VCS url π§-r,--requirement <file>β install from the given requirements file. this option can be used multiple times π--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 theRequires-Pythoninformation π--no-depsβ don't install package dependencies. you're on your own bestie π--progress-bar <progress_bar>β specify whether the progress bar should be used [on,off] (default:on). the little bar is main character energy, personally I keep it π--no-verifyβ don't verify if built wheel is valid π--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π₯--global-option <options>β extra global options to be supplied to thesetup.pycall before theinstallorbdist_wheelcommand πΈ--preβ include pre-release and development versions. by default, pip only finds stable versions. live a little β¨--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 π--no-cleanβ don't clean up build directories π§Ήβ
fr fr, do not skip the tiny ones β--no-cleanand--no-verifyare exactly the kind of flags that sneak up on you π
π¦ AUTHOR π¦
pip developers π
π COPYRIGHT π
The pip developers π«Ά
and that's the whole page, bestie! this one's from pip 22.3, dated Jun 25, 2025 β so if you're quoting it in the group chat, that's your receipt πβ¨π
π¦ where this page comes from
- centos-stream 9: python3.11-pip 22.3.1-6.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