This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tarek
Recipients tarek
Date 2008-11-23.14:58:27
SpamBayes Score 1.5645369e-06
Marked as misclassified No
Message-id <1227452312.43.0.331068752879.issue4394@psf.upfronthosting.co.za>
In-reply-to
Content
Right now you HAVE to store a clear text password in .pypirc.

But this should not be necessary since the "register" command does a
getpass.getpass call to get the password from the prompt and use it to
authenticate to pypi.

So what do we miss ? 

We miss a bit of persistency for the upload command to get that password
when register + upload have been called in the same command line, typically:

$ python setup.py register sdist upload

this patch does it, and adds a test for it.

I am wondering though if upload wouldn't be better not to depend on a 
previous call to register (basically by adding a getpass.getpass call
there too), but this can be a second patch.
History
Date User Action Args
2008-11-23 14:58:32tareksetrecipients: + tarek
2008-11-23 14:58:32tareksetmessageid: <1227452312.43.0.331068752879.issue4394@psf.upfronthosting.co.za>
2008-11-23 14:58:30tareklinkissue4394 messages
2008-11-23 14:58:30tarekcreate