Updated
On this page
PyPI pipeline implementation that builds and publishes Python packages to PyPI, authenticating via PYPI_TOKEN or TWINE_PASSWORD credentials.
#rlsbl.pipelines.pypi
#rlsbl.pipelines.pypi
PyPI pipeline implementation that builds and publishes Python packages to PyPI, authenticating via PYPI_TOKEN or TWINE_PASSWORD credentials.
#PypiPipeline
Pipeline that builds and publishes Python packages to PyPI.
Supports dual-token resolution: tries PYPI_TOKEN first, falls back to TWINE_PASSWORD. When token_var is explicitly set in pipeline config, only that variable is consulted.
#template_dir
python
def template_dir(self) -> str | None#template_mappings
python
def template_mappings(self, ctx) -> list[dict[str, str]]#build_assets
python
def build_assets(self, dir_path: str, version: str, dist_dir: str, ctx) -> list[str]#publish
python
def publish(self, dir_path: str, version: str, ctx) -> None#required_env_vars
python
def required_env_vars(self) -> list[str]