Download on pypi without credentials in .pypirc

I want to download the package in pypiwithout saving my credentials in text to .pypirc.

I checked the documentation: https://www.afpy.org/doc/python/2.7/distutils/packageindex.html#the-upload-command

If the register command was previously called on the same command, and if the password was entered at the prompt, the download will reuse the entered password. This is useful if you do not want the plaintext password in the .pypirc file.

I tried to run python setup.py register bdist_wheel upload. I receive a request for my credentials, enter them, and the register completes successfully. When it tries to load, I get the following error:

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

What am I missing?

+4

Source: https://habr.com/ru/post/1653185/


All Articles