clean stale build folders before build
setuptools will bundle up files from that folder even if they're no longer in the source tree.
This commit is contained in:
parent
c67aefa3ea
commit
dbca596b41
@ -79,7 +79,7 @@ CHECKDEPS := $(shell find anki tests -name '*.py' | grep -v buildinfo.py)
|
||||
|
||||
.PHONY: build
|
||||
build: $(BUILD_STEPS) $(CHECKDEPS)
|
||||
rm -rf dist
|
||||
rm -rf dist build
|
||||
python setup.py -q bdist_wheel
|
||||
rsync -a dist/*.whl ../dist/
|
||||
|
||||
|
@ -103,7 +103,7 @@ CHECKDEPS := $(shell find aqt tests -name '*.py' | grep -v buildinfo.py)
|
||||
|
||||
.PHONY: build
|
||||
build: $(BUILD_STEPS)
|
||||
rm -rf dist
|
||||
rm -rf dist build
|
||||
python setup.py -q bdist_wheel
|
||||
rsync -a dist/*.whl ../dist/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user