8.51. Wheel-0.38.4

Wheel is a Python library that is the reference implementation of the Python wheel packaging standard.

Approximate build time: less than 0.1 SBU
Required disk space: 956 KB

8.51.1. Installation of Wheel

Compile wheel with the following command:

PYTHONPATH=src pip3 wheel -w dist --no-build-isolation --no-deps $PWD

Install wheel with the following command:

pip3 install --no-index --find-links=dist wheel

The meaning of the pip3 commands:

PYTHONPATH=src

Allow using this package (not installed yet) to build a wheel archive for itself, to avoid a chicken-or-egg problem.

wheel

Build wheel archive for this package.

-w dist

Put the created wheels into the dist directory.

install

Install the package.

--no-build-isolation, --no-deps, and --no-index

Prevent pip from fetching files from the online package repository (PyPI). If packages are installed in the correct order, then it won't need to fetch any files in the first place, but these options add some safety in case of user error.

--find-links dist

Search wheel archives from the dist directory.

8.51.2. Contents of Wheel

Installed program: wheel
Installed directories: /usr/lib/python3.11/site-packages/wheel and /usr/lib/python3.11/site-packages/wheel-0.38.4.dist-info

Short Descriptions

wheel

is an utility to unpack, pack, or convert wheel packages