I am trying to distribute a sample package. I am following the below mentioned steps:
1) python.exe setup.py register
Here I decide to use the existing login and provide my username and pssaword. I get this message:

2) python.exe setup.py sdist upload
But when I fire this I get the above mentioned error in the summary.

This is my directory structure

I am following the steps as mentioned in Head First Python book. Can some one please guide me? Am I missing some step?
I am also uploading my contents of my setup file.

NOTE: I am a beginner in python and have just started learning it.
python setup.py register and python setup.py upload are deprecated. Do not use them.
Follow the instructions in the Python Packaging Guide:
python setup.py sdist bdist_wheelpip install twinetwine check dist/*twine upload --repository-url https://test.pypi.org/legacy/ dist/*twine upload dist/*To save typing your PyPI credentials, create $HOME/.pypirc with the following contents:
[pypi]
username = <username>
password = <password>
Note: your password will be stored in plain text!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With