zuul-jobs/roles/upload-pypi/templates/.pypirc.j2
Paul Belanger f94b0b809d
Add upload-pypi role
Create a role to upload python artificats using twine

username and password are required, so remove them from
defaults. Install twine in the homedir by default if the twine command
is not found.

Upload wheels if found first, then tarballs.
Change-Id: I8857e2983e1175107164536d57e313a5b404bddb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-08-22 16:08:09 -04:00

9 lines
181 B
Django/Jinja

[distutils]
index-servers=
{{ pypi_repository }}
[{{ pypi_repository }}]
repository:{{ pypi_repository_url }}
username:{{ pypi_info.username }}
password:{{ pypi_info.password }}