From b6b4f260f5832c4c3aa51c4c08785c17ccc87339 Mon Sep 17 00:00:00 2001 From: Hamish Campbell Date: Thu, 26 May 2022 16:42:05 +1200 Subject: [PATCH] Use twine to upload release distribution --- Makefile | 5 +++-- requirements-dev.txt | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e41e847..11da0a5 100644 --- a/Makefile +++ b/Makefile @@ -55,8 +55,9 @@ zipdocs: docs # open docs/_build/html/index.html release: clean - python setup.py sdist upload - python setup.py bdist_wheel upload + python setup.py sdist + python setup.py bdist_wheel + twine upload dist/* dist: clean python setup.py sdist diff --git a/requirements-dev.txt b/requirements-dev.txt index e47ef58..b5659b8 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -9,3 +9,4 @@ alabaster~=0.7 docutils~=0.16 snowballstemmer~=2.0 sphinx-rtd-theme~=0.4 +twine \ No newline at end of file