From fcd4888e80d09bfebdc1046be3f35e829e2141db Mon Sep 17 00:00:00 2001 From: "Vikrant Balyan (vvb)" Date: Thu, 23 Apr 2020 09:59:49 +0530 Subject: [PATCH] use twine for pypi uploads --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c5bf21c6..22af58b1 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,7 @@ clean-build: rm -fr .eggs/ find . -name '*.egg-info' -exec rm -fr {} + find . -name '*.egg' -exec rm -f {} + + find . -name '*.bak' -exec rm -f {} + clean-pyc: find . -name '*.pyc' -exec rm -f {} + @@ -72,13 +73,11 @@ docs: $(MAKE) -C docs html $(BROWSER) docs/_build/html/index.html -release: clean - python setup.py sdist upload - python setup.py bdist_wheel upload +release: dist + twine upload dist/* dist: clean python setup.py sdist - python setup.py bdist_wheel ls -l dist install: clean