Skip to content

Conversation

@brookskindle
Copy link

Resolves #554

If there is no password in ~/.pypirc, running the upload command

python setup.py sdist upload 

Will now prompt for the user password in the same manner that

python setup.py sdist register 

does.


Let me know if I've missed anything or if there is anything that I could change!

I couldn't find any place to document this functionality (ie, in a readme or anything).

The upload command wasn't prompting for a password. If there was no password specified in ~/.pypirc, the upload command, python setup.py sdist upload would fail and raise a TypeError. The workaround for this was to use python setup.py sdist register upload since the register command does prompt for a password. This commit ensures that the upload command prompts for a password if not given one by ~/.pypirc or the register command.
@jaraco
Copy link
Member

jaraco commented Apr 25, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants