Talking with fungi, the next version of pypi won't support asc files
being displayed. So, just revert for now. Also, this needs to be a
single twine command if we do want to support them.
This reverts commit 356c9807c39a049e69eef92ff69f6200b1ca33ea.
Change-Id: Ied130a1380ff2a404b9fdadb7c0cddd10cc757c5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We don't actually need to conditionally check the result of find
because result.files will be an empty list if nothing is found.
Change-Id: I29a782df72064e602f072099dcba6ced3d4ea258
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Twine also supports asc files, so if found also upload them.
Change-Id: I12cc8b541ca136b64707efe7d94d7e5448238dc9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Like we do for bindep and tox roles. Allow a user to manage the twine
binary outside of the upload-pypi role. This allows a user to better
control the path of the executable too.
Change-Id: I5c757b29e185ab76495abf3cfb2d853aada77a50
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
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>