TOOL » PIP

Wheel

Usage

shell
pip wheel OPTIONS TARGET
OptionDescription
-w --wheel-dirBuild wheels into the given directory.
-r --requirementInstall from the given requirements file.
--no-depsDon’t install package dependencies.

Example

Build a wheel file from a gzipped source code.

shell
pip wheel -w wheelhouse package.tar.gz

The wheel command accepts the same options as install, so -r to look for packages in a requirements.txt or typing the package name directly are also ok.

shell
pip wheel -w wheelhouse -r requirements.txt
pip wheel -w wheelhouse flask