setup.py and PyPI

Ethan Furman ethan at stoneleaf.us
Mon Dec 14 13:00:40 EST 2009


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



More information about the Python-list mailing list