Release for Pypi

  1. Install packaging libraries:

    $ sudo pip install setuptools wheel twine
  2. Update the version number in the pibooth/ file.

  3. Check the rendering of the README by generating the HTML page:

    $ python --long-description | > output.html
  4. Clean previous packages (avoid upload of older package):

    $ rm -rf build/ dist/
  5. Generate the package:

    $ python bdist_wheel
  6. Check the package integrity:

    $ twine check dist/*
  7. Upload the package on Pypi (replace XXXXXX by username and password of your Pypi account):

    $ twine upload -u XXXXXX -p XXXXXX dist/*