Prepare the distributionStep 1 – Setting up the package directoryStep 2 – Writing the setup.py fileStep 3 – Updating the README and LICENSE.txt filesStep 4 – Updating the MANIFEST.in fileStep 5 – Build a deployment-ready distributionUploading the distributionStep 1 – Creating an account on PyPI test websiteStep 2 – Creating a .pypirc fileStep 3 – Register your projectStep 4 – Uploading the packageA single command to do it allInstalling your own distribution