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.
This commit is contained in:
Soren I. Bjornstad 2021-09-22 10:57:18 -05:00
parent 52c0daedbb
commit cb55a967d0
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#!/bin/bash
set -e
rm -rf build/
rm -f dist/*
mkdir -p dist
python setup.py sdist bdist_wheel