mirror of
https://github.com/JoelBender/bacpypes
synced 2025-09-28 22:15:23 +08:00
clean out the build directory between versions
This commit is contained in:
parent
a1b3f58ae8
commit
49f990c300
|
@ -3,9 +3,17 @@
|
||||||
# remove everything in the current dist/ directory
|
# remove everything in the current dist/ directory
|
||||||
[ -d dist ] && rm -Rfv dist
|
[ -d dist ] && rm -Rfv dist
|
||||||
|
|
||||||
|
# start with a clean build directory
|
||||||
|
rm -Rfv build/
|
||||||
|
|
||||||
|
# Python 2.5 doesn't support wheels
|
||||||
|
python2.5 setup.py bdist_egg
|
||||||
|
rm -Rfv build/
|
||||||
|
|
||||||
for ver in 2.7 3.4; do
|
for ver in 2.7 3.4; do
|
||||||
python$ver setup.py bdist_egg
|
python$ver setup.py bdist_egg
|
||||||
python$ver setup.py bdist_wheel
|
python$ver setup.py bdist_wheel
|
||||||
|
rm -Rfv build/
|
||||||
done
|
done
|
||||||
|
|
||||||
read -p "Upload to PyPI? [y/n/x] " yesno || exit 1
|
read -p "Upload to PyPI? [y/n/x] " yesno || exit 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user