Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions upload_appveyor_builds.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from six.moves.urllib.parse import urljoin
from six.moves.urllib.request import urlopen
from twine.commands.upload import upload
from twine.commands import upload


APPVEYOR_API_BASE_URL = 'https://ci.appveyor.com/api/'
Expand Down Expand Up @@ -124,16 +124,7 @@ def main():
dist = download_artifact(artifact, args.dist_dir, args.overwrite)
dists.append(dist)
print('Uploading {0} file(s)...'.format(len(dists)))
upload(
repository='pypi',
sign=False,
sign_with='gpg',
identity=None,
username=None,
password=None,
comment=None,
dists=dists
)
upload.main(('-r', 'pypi') + tuple(dists))


if __name__ == '__main__':
Expand Down