If you don't already have twine installed run the following:
python -m pip install --user --upgrade twine
python setup.py sdist bdist_wheel
twine check dist/PROJECT_NAME.tar.gz
pip install PATH_TO_PROJECT/dist/PROJECT_NAME.tar.gz
You should run this before uploading it and check all works as expected.
Note you need to set up a pip account first
twine upload dist/*
https://pypi.org/project/PROJECT_NAME/