[Distutils] Fw: Re: [Webmaster] Upload the package to the Pypi problem

Donald Stufft donald at stufft.io
Thu Jun 16 08:36:35 EDT 2016


Heya,

I’m still writing up the documentation for this, but you should use Twine (https://pypi.python.org/pypi/twine <https://pypi.python.org/pypi/twine>) to upload instead of ``setup.py upload``.

> On Jun 16, 2016, at 3:48 AM, taochengwei at emar.com wrote:
> 
> 
> 
> From: Tim Golden <mailto:mail at timgolden.me.uk>
> Date: 2016-06-16 15:26
> To: taochengwei at emar.com <mailto:taochengwei at emar.com>; webmaster <mailto:webmaster at python.org>
> Subject: Re: [Webmaster] Upload the package to the Pypi problem
> Please repost this to the distutils-sig mailing list:
>  
>   https://mail.python.org/mailman/listinfo/distutils-sig <https://mail.python.org/mailman/listinfo/distutils-sig>
>  
> TJG
>  
> On 16/06/2016 07:23, taochengwei at emar.com <mailto:taochengwei at emar.com> wrote:
> > I run `python setup.py register sdist bdist_egg upload`,
> > """
> > running upload
> > Submitting dist/SpliceURL-0.1.tar.gz to http://pypi.python.org/pypi <http://pypi.python.org/pypi>
> > Upload failed (403): Must access using HTTPS instead of HTTP
> > Submitting dist/SpliceURL-0.1-py2.7.egg to http://pypi.python.org/pypi <http://pypi.python.org/pypi>
> > Upload failed (403): Must access using HTTPS instead of HTTP
> > """
> > My system:
> > python 2.6.6
> > setuptools (23.0.0)
> > 
> > My .pypirc
> > """
> > [distutils]
> > index-servers = 
> >     pypi
> > 
> > [pypi]
> > repository=https://pypi.python.org/pypi <https://pypi.python.org/pypi>
> > username=saintic
> > password=zzz
> > """
> > I change a Centos7 system, is the same(no pypirc, python2.7).
> > 
> > 
> > ------------------------------------------------------------------------
> > _______________________________________________
> > Webmaster mailing list
> > Webmaster at python.org <mailto:Webmaster at python.org>
> > https://mail.python.org/mailman/listinfo/webmaster <https://mail.python.org/mailman/listinfo/webmaster>
> > 
>  
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org <mailto:Distutils-SIG at python.org>
> https://mail.python.org/mailman/listinfo/distutils-sig <https://mail.python.org/mailman/listinfo/distutils-sig>

—
Donald Stufft



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20160616/a5c8a259/attachment.html>


More information about the Distutils-SIG mailing list