Commit b6056e0a authored by Jason R. Coombs's avatar Jason R. Coombs

Copy all the defaults from twine.commands.upload, as they're not exposed in the API. Ref #432

parent 71429b10
......@@ -239,7 +239,20 @@ class SetuptoolsOldReleasesWithoutZip:
def upload_zips_to_pypi(self):
print('Uploading to pypi...')
zips = sorted(glob.glob('%s/*.zip' % self.dirpath), key=self.version_from_filename)
upload.upload(dists=zips)
upload.upload(
dists=zips,
repository='pypi',
sign=False,
identity=None,
username=None,
password=None,
comment=None,
sign_with='gpg',
config_file='~/.pypirc',
skip_existing=False,
cert=None,
client_cert=None,
)
if __name__ == '__main__':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment