packaging.python.org
packaging.python.org copied to clipboard
Document the solution for folks who can't paste their token in twine correctly
@bhrutledge That would be a good spot to document it. Also, maybe it should be documented in https://packaging.python.org/tutorials/packaging-projects/ if possible. If four people have reported it that I see, maybe others have tried to upload using twine and have been unable to do so.
Originally posted by @mathstar13 in https://github.com/pypa/twine/issues/671#issuecomment-678659253
The section to add this would be: https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives
Solution: https://github.com/pypa/twine/issues/671#issuecomment-675575517
(Or just add a reference to https://pypi.org/help/#invalid-auth)
I think linking to https://pypi.org/help/#invalid-auth in a .. tip::
below the twine
output would be very helpful.
We could try embedding that GIF in a collapsible block so that it does not distract folks who don't need a visual clue. I wouldn't commit it to Git, though.
We could try embedding that GIF in a collapsible block so that it does not distract folks who don't need a visual clue. I wouldn't commit it to Git, though.
@webknjaz Where would you host the image? Are there other pages that use images?
There are assets @ https://github.com/pypa/packaging.python.org/tree/main/source/assets but Git is not designed to store blobs effectively so I'd only keep SVGs in the repo.
As for the GIF, I imagine that it may be possible to just embed the GH-hosted one that is already uploaded in your comment.
@bhrutledge here's a way of uploading pics to the GH CDN: https://gist.github.com/vinkla/dca76249ba6b73c5dd66a4e986df4c8d