How to build and publish a package on pypi.org

How to build and publish a package on pypi.org

Notes for building and publising a python package to pypi.org

These notes are for python 2.7, sorry, but they still may be useful for python 3.x.

Build it

python setup.py bdist_wheel

Upload your package to pypi

twine upload dist/*

Upgrage your system to the latest version

sudo pip install -U <package-name>

These notes were created for [subscribiecli](https://pypi.org/project/subscribie/), a cli to aid the creation of subscription based websites. See Subscribie.

Collect recurring payments with Subscribie - Try Now