Problem with command-line registeration with PyPI in Windows 7

melhosseiny es.mostafa at gmail.com
Wed Mar 16 10:41:06 EDT 2011


On Mar 16, 2:51 pm, Steven D'Aprano <steve
+comp.lang.pyt... at pearwood.info> wrote:
> On Wed, 16 Mar 2011 01:55:31 -0700, melhosseiny wrote:
> > When I type c:\python32\python.exe setup.py register and press enter I
> > get the following:
> [...]
> > Why is this happening? It doesn't care what i type. It's always the same
> > result.
>
> I found a similar (possibly the same) problem. I eventually worked around
> it by creating a config file with my username and password:
>
> [distutils]
> index-servers =
>     pypi
>
> [pypi]
> username:************
> password:************
>
> How you would do the same thing under Windows, I don't know.
>
> --
> Steven

Thank you. It worked for me too. I added .pypirc file with my username
and password in my home folder (i.e. C:\Users\*****).



More information about the Python-list mailing list