tags:

views:

38

answers:

1

Im encountering a problem with pypi Similar to this one: http://stackoverflow.com/questions/1569315/setup-py-upload-is-failing-with-upload-failed-401-you-must-be-identified-to

Except that im running windows and the mentioned solution page is down. Anyone knows how to work around this? Im using python 2.5

python setup.py sdist register upload

running register
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]:  1
Username: tschellenbach
Password:
Server response (200): OK
running upload
Submitting dist\django-ogone-1.0.0.zip to http://pypi.python.org/pypi
Upload failed (401): You must be identified to edit package information
+2  A: 

the answer for this seems not very non-windows-specific, give it a try: accepted answer It says basically, that you need a file .pypirc with the following section:

[server-login]
username:tschellenbach
password:******** (the real one)

also, this is the relevant documentation (about .pypirc):

On windows, an you’ll need to set a HOME environ var to point to the directory where this file lives.

knitti
Great :) that works. Pretty lame that thats needed though.
Thierry