PIP-WHEEL(1)

πŸ“¦ version 23.2.1, in centos-stream 9

🌸 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-pep517 to 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 form KEY=VALUE. Use multiple --config-settings options to pass multiple keys to the backend. 🫢
  • --build-option <options> β€” Extra arguments to be supplied to setup.py bdist_wheel. Giving the build command little extras. πŸŽ€
  • --global-option <options> β€” Extra global options to be supplied to the setup.py call before the install or bdist_wheel command. 🌸
  • --pre β€” Include pre-release and development versions. By default, pip only 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 --hash option. Integrity check, periodt. πŸ”₯
  • --no-clean β€” Don’t clean up build directories. Leave the mess, honestly. 🫢

πŸ‘‘ AUTHOR πŸ‘‘

pip developers β€” iconic behavior, truly.

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