我是Nexus3新手,我按照这里的说明上传一个PyPI包(pythonv2.7):https://books.sonatype.com/nexus-book/3.0/reference/pypi.html
但是,我收到了以下消息,阻止我上传软件包。
HTTPError: 401客户端错误:未经授权的url
我做了以下步骤,但不确定是否遗漏了什么:
python setup.py sdist; twine upload -r nexus3 dist/[secure]-0.1.0.tar.gz请建议,谢谢!
发布于 2019-07-18 02:14:58
我不得不将--config-file .pypirc添加到twine upload中。
所以
twine upload --config-file .pypirc -r nexus3 dist/[secure]-0.1.0.tar.gzhttps://stackoverflow.com/questions/47437879
复制相似问题