Python: make wheels

Here a simple example to make a whell

First, install wheel package:

nickyvm$: pip install wheel

Then give the package you need offline and where to store it:

nickyvm$: pip wheel --wheel-dir=my_wheeldirectory psycopg2

Finally, to install it from offline:

pip install --use-wheel --user --upgrade --no-index --find-links=path/to/my_wheels psycopg2

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.