在.pypirc中没有凭据的情况下上传到pypi

时间:2016-08-31 15:33:56

标签: python python-2.7 pypi

我想将一个包上传到pypi而不将我的凭据以明文形式存储在.pypirc中。

我查看了文档:https://www.afpy.org/doc/python/2.7/distutils/packageindex.html#the-upload-command

  

如果先前在同一命令中调用了register命令,并且   如果在提示中输入了密码,则上传将重复使用   输入密码。如果您不想存储,这非常有用   .pypirc文件中的明文密码。

我尝试了python setup.py register bdist_wheel upload。我收到提示输入凭据,输入凭据,登记成功。当它尝试上传时,我收到以下错误:

Upload failed (401): You must be identified to edit package information
error: Upload failed (401): You must be identified to edit package information

我错过了什么?

0 个答案:

没有答案
相关问题