mirror of
https://github.com/drone-plugins/drone-pypi.git
synced 2026-06-04 18:24:00 +08:00
601255d8ff
Added instructions and artifacts required to test against the PyPI test server. Also did some minor API refactoring. This plugin was successfully validated against the test PyPI server.
20 lines
521 B
Markdown
20 lines
521 B
Markdown
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:
|
|
|
|
```yaml
|
|
publish:
|
|
pypi:
|
|
repository: https://pypi.python.org/pypi
|
|
username: guido
|
|
password: secret
|
|
distributions:
|
|
- sdist
|
|
- bdist_wheel
|
|
```
|