From f06ebbf2ae47deffe0c680914758c3ba68300bd8 Mon Sep 17 00:00:00 2001 From: Vladimir Iakovlev Date: Tue, 16 Oct 2018 21:08:08 +0200 Subject: [PATCH] #N/A: Use twine for uploading new releases --- release.py | 3 ++- requirements.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/release.py b/release.py index 42cf2b3f..1bacdf3d 100755 --- a/release.py +++ b/release.py @@ -32,4 +32,5 @@ call('git push --tags', shell=True) env = os.environ env['CONVERT_README'] = 'true' -call('python setup.py sdist bdist_wheel upload', shell=True, env=env) +call('python setup.py sdist bdist_wheel', shell=True, env=env) +call('twine upload dist/*', shell=True, env=env) diff --git a/requirements.txt b/requirements.txt index f3983e81..33ae7a9d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,3 +8,4 @@ pexpect pypandoc pytest-benchmark pytest-docker-pexpect +twine