Prep for 1.4.3 release 1.4.3
authorDaniel Roy Greenfeld <pydanny@gmail.com>
Fri, 15 Jun 2018 04:31:56 +0000 (21:31 -0700)
committerDaniel Roy Greenfeld <pydanny@gmail.com>
Fri, 15 Jun 2018 04:31:56 +0000 (21:31 -0700)
setup.py

index aaa32795dbc35872dcf15c4a4b4bfe7d996bcf3c..c27803b36be65302110642602a9e54c15c2926b7 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -23,6 +23,7 @@ readme = read("README.rst")
 history = read("HISTORY.rst").replace(".. :changelog:", "")
 
 if sys.argv[-1] == "publish":
+    os.system("rm -rf dist")
     os.system("python setup.py sdist bdist_wheel")
     os.system("twine upload dist/*")
     os.system("git tag -a %s -m 'version %s'" % (__version__, __version__))