HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pip wheel — Build wheel archives for packages and dependencies. More information: <https://pip.pypa.io/en/stable

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandbuildclipip wheelwheelforarchivespackages

Problem

How to use the pip wheel command: Build wheel archives for packages and dependencies. More information: <https://pip.pypa.io/en/stable/cli/pip_wheel/>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/pip wheel

Revisions (0)

No revisions yet.