pypi.svg

PyPI

by drone-plugins


This plugin allows you to publish Python pypi packages as part of your pipeline.

Example

kind: pipeline
name: default

steps:
- name: pypi_publish
  image: plugins/pypi
  settings:
    username: john
    password: secret

Properties

  • username

    stringrequired

    Username to be used for the pypi publish.

    Default: none

  • password

    stringrequired

    Password to be used for the pypi publish.

    Secret recommended

    Default: none

  • repository

    stringoptional

    The URL of the repository to be published to.

    Default: https://upload.pypi.org/legacy/

  • distributions

    stringoptional

    List of distribution types to publish.

    Default: only sdist

  • setupfile

    stringoptional

    The relative path from the workspace root to the setup.py file to be used.

    Default: setup.py

  • skip_build

    booleanoptional

    Skip the build and only upload pre-build files from dist/*.

    Default: false