Publishing to PyPI First, make sure to increment the version number in setup.py before publishing a new version. Next, running the publish command in the Makefile will prompt for a username and password, then publish this package to PyPI.