Philip Semanchuk wrote:

On Dec 14, 2009, at 1:00 PM, Ethan Furman wrote:

Philip Semanchuk wrote:

On Dec 14, 2009, at 12:04 PM, Ethan Furman wrote:

Greetings!

I'm using Python 2.5 on Windows XP, and trying to get the upload portion of setup.py to work. According to what I have found, I can put my info into a .pypirc file to have the process pick up my username/password and upload the files.

I have tried putting this file into the same folder I'm running setup.py from, into my home folder (USERPROFILE, I think) -- and the really frustrating part is that it worked a couple times (but maybe that was from my home computer) but mostly it does not.

When it fails, how does it fail?


python setup.py sdist bdist --format wininst upload

[snip]

running upload
Submitting dist\dbf-0.87.7.zip to http://pypi.python.org/pypi
Upload failed (401): You must be identified to edit package  information


Looks like there's known problems with this under Windows that might affect your version of Python, depending on which version you have.
http://bugs.python.org/issue1741

Setting a HOME environment variable to point to wherever you have your .pypirc file might help.

Hope this helps
P

The HOME variable did it!

Many, many thanks!!

~Ethan~
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to