Skip to content

Commit

Permalink
README.md: Final publishing tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sybrenstuvel committed Jul 20, 2022
1 parent 1ee1afe commit c4dc7be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ use this token when publishing instead of your username and password.
As username, use `__token__`.
As password, use the token itself, including the `pypi-` prefix.

See https://pypi.org/help/#apitoken for help using API tokens to publish. This is what I have in `~/.pypirc`:
See https://pypi.org/help/#apitoken for help using API tokens to publish. This
is what I have in `~/.pypirc`:

```
[distutils]
Expand All @@ -56,6 +57,7 @@ index-servers =
# Use `twine upload -r rsa` to upload with this token.
[rsa]
repository = https://upload.pypi.org/legacy/
username = __token__
password = pypi-token
```
Expand Down

0 comments on commit c4dc7be

Please sign in to comment.