Pypi Plugin

Use the PyPI plugin to deploy a Python package to a PyPI server.

  • repository - The repository name (optional)
  • username - The username to login with (optional)
  • password - A password to login with (optional)
  • distributions - A list of distribution types to deploy (optional)

The following is an example configuration for your .drone.yml:

publish:
  pypi:
    repository: https://pypi.python.org/pypi
    username: guido
    password: secret
    distributions:
      - sdist
      - bdist_wheel
This website is a public GitHub repository, which is forked from upstream Drone CI documentation. Please help us by forking and improving upstream Drone CI documentation or Tea CI documentation.