Skip to content

Commit

Permalink
Document that token-based upload is supported
Browse files Browse the repository at this point in the history
Closes pypa#276
  • Loading branch information
Mariatta authored Oct 4, 2022
1 parent ba77115 commit fcaa48a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/cmdline.rst
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ Environment variables
Set a username, password, and index URL for uploading packages.
See :ref:`uploading packages with environment variables <upload_envvars>`
for more information.

Token-based upload to PyPI is supported. To upload using PyPI token,
set the ``FLIT_USERNAME`` value to ``__token__``, and the ``FLIT_PASSWORD``
to the token value.

.. envvar:: FLIT_ALLOW_INVALID

Expand Down

0 comments on commit fcaa48a

Please sign in to comment.