3 Commits

Author SHA1 Message Date
Ian Wienand
2c58a8ceed upload-pypi: support API token upload
Support an api_token argument.  Accounts that have two-factor auth
will at some point require using API tokens to upload.

Change-Id: Id0c47d088d6e8febbae3c96caecc81ebe247754e
2022-07-13 15:18:08 +10:00
James E. Blair
a1c25d6fc8 upload-pypi: make repository url optional
The current default URL returns an error.  The error message suggests
that we just omit the URL entirely from the config and let twine
handle it.  That's what this patch does.

Change-Id: I83b2eb30e3c93690dbe03052cd3f20a73c110350
2017-10-17 14:13:24 -07:00
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