Skip to content

Commit c7efa41

Browse files
authored
Merge pull request #890 from bhrutledge/866-api-token
Packaging Python Projects: Tweak API token instructions
2 parents 7e4add6 + da1c25b commit c7efa41

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

source/tutorials/packaging-projects.rst

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -460,14 +460,9 @@ You will also need to verify your email address before you're able to upload
460460
any packages. For more details on Test PyPI, see
461461
:doc:`/guides/using-testpypi`.
462462

463-
Now you'll create a PyPI `API token`_ so you will be able to securely upload
464-
your project.
465-
466-
Go to https://test.pypi.org/manage/account/#api-tokens and create a new
467-
`API token`_; don't limit its scope to a particular project, since you
468-
are creating a new project.
469-
470-
**Don't close the page until you have copied and saved the token — you
463+
To securely upload your project, you'll need a PyPI `API token`_. Create one at
464+
https://test.pypi.org/manage/account/#api-tokens, setting the "Scope" to "Entire
465+
account". **Don't close the page until you have copied and saved the token — you
471466
won't see that token again.**
472467

473468
.. _API token: https://test.pypi.org/help/#apitoken

0 commit comments

Comments
 (0)