Message76268
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. |
|
Date |
User |
Action |
Args |
2008-11-23 14:58:32 | tarek | set | recipients:
+ tarek |
2008-11-23 14:58:32 | tarek | set | messageid: <1227452312.43.0.331068752879.issue4394@psf.upfronthosting.co.za> |
2008-11-23 14:58:30 | tarek | link | issue4394 messages |
2008-11-23 14:58:30 | tarek | create | |
|