CLI reference / product / python

stado product python

Invocation

stado product python [OPTIONS] <operation>

Purpose

Release steps of a Python product: its wheel and sdist, their PyPI upload, or a zip application

Required inputs and options

Input or optionContract
<operation>build: python -m build into $WISENT_OUTPUT_DIR/release/python-distributions.tar; deliver-pypi: verify WISENT_RELEASE_ARCHIVE against WISENT_RELEASE_SHA256 and upload its one wheel and one sdist with twine, writing pypi-evidence.json; zipapp: the --package directories run as --module, at $WISENT_OUTPUT_DIR/bin/<--name> [possible values: build, deliver-pypi, zipapp]
--catalog <catalog>Independent authoritative catalog path
--package <package>zipapp: a top-level package directory; repeatable
--module <module>zipapp: the module the application runs
--workspace <workspace>The workspace of canonical checkouts this operation reads and builds from; default WISENT_WORKSPACE, else ~/Documents/CodingProjects/Wisent
--name <name>zipapp: the application's file name, ending in .pyz

Output and state effect

It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.