Files
cheatsheet-tldr/tldr/pip-wheel
2025-10-07 00:19:24 +00:00

34 lines
739 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pip wheel
> Build wheel archives for packages and dependencies.
> More information: <https://pip.pypa.io/en/stable/cli/pip_wheel/>.
- Build a wheel for a package:
`pip wheel {{package}}`
- Build wheels for packages in requirements file:
`pip wheel {{[-r|--requirement]}} {{path/to/requirements.txt}}`
- Build wheel to a specific directory:
`pip wheel {{package}} {{[-w|--wheel-dir]}} {{path/to/directory}}`
- Build wheel without dependencies:
`pip wheel {{package}} --no-deps`
- Build wheel from local project:
`pip wheel {{path/to/project}}`
- Build wheel from Git repository:
`pip wheel git+{{https://github.com/user/repo.git}}`