pypublish
Publish wheel and source distributions previously registered by pybuild. This command does not rebuild or validate distributions, and does not create another build badge or RST report.
For programmatic usage, see pybuild.
Default run name: pypublish
cikit pypublish --build-run pybuild --repository pypi
Arguments and options
--build-run RUN: Run containing the distributions (default:pybuild).--repository NAME: Twine repository alias (default: Twine’s PyPI target).--timeout SECONDS: Upload timeout (default: 600).
Requires: Twine credentials/configuration (for example
TWINE_USERNAME and TWINE_PASSWORD), and the previously registered
build artifacts plus their artifact registry. In separate CI jobs, these
must be transferred explicitly.
Results: Upload to the selected package index and an execution log.
Publishing a Named Build Run
Select the source run using --build-run independently of the publishing
command’s own logical run name:
cikit --name release pybuild
cikit pypublish --build-run release --repository testpypi