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:
parent
52c0daedbb
commit
cb55a967d0
@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
rm -rf build/
|
||||||
rm -f dist/*
|
rm -f dist/*
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
python setup.py sdist bdist_wheel
|
python setup.py sdist bdist_wheel
|
||||||
|
Loading…
Reference in New Issue
Block a user