Wheel is a Python library that is the reference implementation of the Python wheel packaging standard.
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 configuration options and commands:
PYTHONPATH=src
Allows this package (not installed yet) to build a wheel archive for itself, to avoid a chicken-or-egg problem.
This command builds the wheel archive for this package.
-w
dist
Instructs pip to put the created wheel into the dist
directory.
This command installs the package.
--no-build-isolation
, --no-deps
, and --no-index
These options prevent fetching files from the online package repository (PyPI). If packages are installed in the correct order, pip won't need to fetch any files in the first place; these options add some safety in case of user error.
--find-links
dist
Instructs pip to search for wheel archives in the
dist
directory.