Skip to content

Commit d1e7ac4

Browse files
committed
docs: update testpypi guide for api token
With the upcoming change to require 2FA for all users (already enforced on TestPyPI), update guidance to point the user in the right direction. Signed-off-by: Mike Fiedler <[email protected]>
1 parent d382723 commit d1e7ac4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/guides/using-testpypi.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,13 @@ you're testing has dependencies:
7272
Setting up TestPyPI in :file:`.pypirc`
7373
--------------------------------------
7474

75-
If you want to avoid entering your username, you can configure TestPyPI in
76-
your :file:`$HOME/.pypirc`:
75+
If you want to avoid being prompted for your username and password every time,
76+
you can configure TestPyPI in your :file:`$HOME/.pypirc`:
7777

7878
.. code:: ini
7979
8080
[testpypi]
81-
username = <your TestPyPI username>
81+
username = __token__
82+
password = <your TestPyPI API Token>
8283
8384
For more details, see the :ref:`specification <pypirc>` for :file:`.pypirc`.

0 commit comments

Comments
 (0)