Skip to content

Commit

Permalink
Merge pull request #602 from Mariatta/patch-1
Browse files Browse the repository at this point in the history
Document that token-based upload is supported
  • Loading branch information
takluyver committed Oct 20, 2022
2 parents e6e1048 + a10e1e7 commit db45ff0
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 a PyPI token,
set ``FLIT_USERNAME`` to ``__token__``, and ``FLIT_PASSWORD`` to the
token value.

.. envvar:: FLIT_ALLOW_INVALID

Expand Down

0 comments on commit db45ff0

Please sign in to comment.