On Wed, 27 Jul 2011 07:54:01 PM Reinout van Rees wrote:
> On 27-07-11 09:01, Algis Kabaila wrote:
> > ak@supremo:/dat/work/py3/Matrix-Algebra$ python setup.py sdist upload
> 
> What I always do is not just "sdist upload", but "sdist upload
> register". I think the "register" step is what you're missing.
> 
> Initially, you *need* to use register to get the package registered (and
> created) on pypi, afterwards you can upload. In my experience, sometimes
> you need to call the command twice: the first call registers the package
> but fails in the upload, the second call's upload succeeds.
> 
> After that, everything is rosy.
> 
> 
> 
> Reinout

Changed .pypirc to the original:

[server-login]
username:OldAl
password:xxxxxx

The above seems to work, as the pypi server did not offer to choose an item on 
the list of options.  As the following dialog shows, the registration was 
refused.

*********************
ak@supremo:~$ cd  /dat/work/py3/Matrix-Algebra/
ak@supremo:/dat/work/py3/Matrix-Algebra$ python setup.py register
running register
running check
Registering Matalg to http://pypi.python.org/pypi
Server response (400): Bad Request
ak@supremo:/dat/work/py3/Matrix-Algebra$ 
*********************

Thanks for trying.

Al.
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to