From 0a35ec2f766a7d14e2c5ec2b3ea9db65ad46b66c Mon Sep 17 00:00:00 2001 From: Simon Albinsson Date: Mon, 23 Apr 2018 08:32:27 +0000 Subject: [PATCH] Makefile: cleans old dist-dir before building My somewhat ham-fisted usage of twine requires that there is just one file in the dist-directory. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 4546ccf..126cb2a 100644 --- a/Makefile +++ b/Makefile @@ -3,5 +3,7 @@ test: python2 -m unittest discover uppload: + mkdir -p dist.old + mv dist/* dist.old/ python setup.py sdist twine upload dist/*