On Wed, 27 Jul 2011 05:14:51 PM Wichert Akkerman wrote:
On 07/27/2011 09:01 AM, Algis Kabaila wrote:
I have a ".pypirc" file in my home directory (password obscured):
[server-login] username:OldAl password:xxxxxx
Can you try using "pypi" as section name instead of "server-login" ?
Changed the .pypirc to:
[pypi] username:OldAl password: xxxxx
Of course, xxxx is actually my password - in the clear... I must confess that something seems to be missing from the ,pypirc file. It looks as if something is missing from it...
Now the dialog is as follows:
ak@supremo:/dat/work/py3/Matrix-Algebra$ python setup.py register sdist upload running register running check We need to know who you are, so please choose either: 1. use your existing login, 2. register as a new user, 3. have the server generate a new password for you (and email it to you), or 4. quit Your selection [default 1]:
Username: OldAl Password: Registering Matalg to http://pypi.python.org/pypi Server response (400): Bad Request running sdist reading manifest template 'MANIFEST.in' writing manifest file 'MANIFEST' creating Matalg-0.1.0 creating Matalg-0.1.0/matalg-mod creating Matalg-0.1.0/matalg-pdf making hard links in Matalg-0.1.0... hard linking README.txt -> Matalg-0.1.0 hard linking setup.py -> Matalg-0.1.0 hard linking matalg-mod/Matalg.py -> Matalg-0.1.0/matalg-mod hard linking matalg-mod/__init__.py -> Matalg-0.1.0/matalg-mod hard linking matalg-mod/testMat.py -> Matalg-0.1.0/matalg-mod hard linking matalg-pdf/quickStart.pdf -> Matalg-0.1.0/matalg-pdf hard linking matalg-pdf/referenceMatalg.pdf -> Matalg-0.1.0/matalg-pdf hard linking matalg-pdf/userManual.pdf -> Matalg-0.1.0/matalg-pdf Creating tar archive removing 'Matalg-0.1.0' (and everything under it) running upload Submitting dist/Matalg-0.1.0.tar.gz to http://pypi.python.org/pypi Upload failed (401): Unauthorized ak@supremo:/dat/work/py3/Matrix-Algebra$
I have tried to implement all the suggestions. Will try a few other variations, though I am not very optimistic. The gremlins must be after me...
Thank you all for the suggestions. I will keep reporting my experiences. The time differences may put some space between us. I hope you will be patiend with me.
I am truly grateful!