maphew

Test pip install from local wheel

Saturday, February 24, 2018

Pip install from a Leo source code checkout is handy, but isn't a reliable means for testing distribution.

Build a local wheel package. Downloads all dependent packages as well, so is a good means of seeing what the total download for an end user will be if they have none of the requirements outside of Python and Pip.

pushd d:\temp\wheels
pip wheel --wheel-dir .  d:\matt\code\leo-editor 
pip install leo-editor*.whl

From <https://stackoverflow.com/questions/48550546/how-to-install-a-wheel-style-package-using-setup-py?rq=1>

Bare python 3 + pip install: 87 MB