livery.extensions.python._steps¶
livery.extensions.python._steps ¶
The python extension's steps: a package's lifecycle phases and its isolated test.
Functions:
| Name | Description |
|---|---|
stamp |
Write the engine's version into |
build |
Build the package's wheel and sdist into its |
publish |
Upload the built distributions to the registry target the engine resolved. |
isolated_test |
Test the built wheel in a fresh venv at the engine's resolution; what it got. |
run |
Start the script the engine names with the words after the dashes; its code. |
verify |
Install the released version alone and run its tests at the engine's tree. |
stamp ¶
stamp(ctx: PhaseContext) -> None
Write the engine's version into pyproject.toml and raise its floors there.
The version goes into pyproject.toml and every __version__;
each requirement on one of the engine's floors, a member released
with this one, takes that member's version.
Source code in packages/extensions/python/src/livery/extensions/python/_steps.py
build ¶
build(ctx: PhaseContext) -> None
Build the package's wheel and sdist into its dist/, at the engine's epoch.
Source code in packages/extensions/python/src/livery/extensions/python/_steps.py
publish ¶
publish(ctx: PhaseContext) -> None
Upload the built distributions to the registry target the engine resolved.
Source code in packages/extensions/python/src/livery/extensions/python/_steps.py
isolated_test ¶
isolated_test(ctx: PhaseContext) -> None
Test the built wheel in a fresh venv at the engine's resolution; what it got.
Source code in packages/extensions/python/src/livery/extensions/python/_steps.py
run ¶
run(ctx: PhaseContext) -> None
Start the script the engine names with the words after the dashes; its code.
Source code in packages/extensions/python/src/livery/extensions/python/_steps.py
verify ¶
verify(ctx: PhaseContext) -> None
Install the released version alone and run its tests at the engine's tree.