The package is released but that is not the end of the story. Very soon, you will need to make changes to the code and make the newer version available again. In this section, we will learn how to submit incremental patches to an already deployed distribution.
Preparing for the new release is pretty simple. Just update the version number to, for instance, 2.0.1
in the setup.py
file. After making this change, run the earlier command that creates a source distribution and uploads the package in one go:
$ python setup.py sdist upload -r pypitest
The incremental release of v2.0.1 will now be available on the PyPI test repository.