Release for Pypi
Install packaging libraries:
$ sudo pip install setuptools wheel twine
Update the version number in the
pibooth/__init__.py
file.Check the rendering of the README by generating the HTML page:
$ python setup.py --long-description | rst2html.py > output.html
Clean previous packages (avoid upload of older package):
$ rm -rf build/ dist/
Generate the package:
$ python setup.py bdist_wheel
Check the package integrity:
$ twine check dist/*
Upload the package on Pypi (replace XXXXXX by username and password of your Pypi account):
$ twine upload -u XXXXXX -p XXXXXX dist/*