pybuild

Build a Python project’s wheel and source distribution using PEP 517, validate them with twine check --strict, and create a package-version badge and an RST build report. Publishing is handled separately by pypublish.

For programmatic usage, see pybuild.

Default run name: pybuild

cikit pybuild .

Arguments and options

  • project_dir: Directory containing pyproject.toml (default: project root).

  • --isolation / --no-isolation: Use an isolated build environment (default: enabled).

  • --timeout SECONDS: Build/check timeout (default: 600).

Requires: Python build, twine, and the project’s PEP 517 build backend and build dependencies.

Results: One wheel and one source distribution as build artifacts, build and validation logs, version and build metrics, version badge, and RST report. A Twine validation failure is recorded in the CI status while report generation can continue.