Uploading Packages to the Package Index — Python documentation

From Get docs
Python/docs/3.7/distutils/uploading

Uploading Packages to the Package Index

References to up to date PyPI documentation can be found at Reading the Python Packaging User Guide.