File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -495,10 +495,6 @@ When you are ready to upload a real package to the Python Package Index you can
495495do much the same as you did in this tutorial, but with these important
496496differences:
497497
498- For projects published through a supported CI/CD platform, we recommend
499- :ref: `Trusted Publishing <trusted-publishing >` instead of storing a long-lived
500- API token. The linked guide shows how to set this up with GitHub Actions.
501-
502498* Choose a memorable and unique name for your package. You don't have to append
503499 your username as you did in the tutorial, but you can't use an existing name.
504500* Register an account on https://pypi.org - note that these are two separate
@@ -510,6 +506,12 @@ API token. The linked guide shows how to set this up with GitHub Actions.
510506 ``--repository ``; the package will upload to https://pypi.org/ by default.
511507* Install your package from the real PyPI using ``python3 -m pip install [your-package] ``.
512508
509+ .. tip ::
510+
511+ For projects published through a supported CI/CD platform, we recommend
512+ :ref: `Trusted Publishing <trusted-publishing >` instead of storing a long-lived
513+ API token. The linked guide shows how to set this up with GitHub Actions.
514+
513515At this point if you want to read more on packaging Python libraries here are
514516some things you can do:
515517
You can’t perform that action at this time.
0 commit comments