From cb55a967d0ceaabc8b7b87cfc2f28318c55a5ec5 Mon Sep 17 00:00:00 2001 From: "Soren I. Bjornstad" Date: Wed, 22 Sep 2021 10:57:18 -0500 Subject: [PATCH] remove build folder prior to building wheels Otherwise files that have been removed will still show up in the wheel -- but not in the source distribution -- which is super confusing and wrong. No idea why Python doesn't check this itself. --- publish.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/publish.sh b/publish.sh index dc16392..caf8916 100755 --- a/publish.sh +++ b/publish.sh @@ -1,6 +1,7 @@ #!/bin/bash set -e +rm -rf build/ rm -f dist/* mkdir -p dist python setup.py sdist bdist_wheel