1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-09-28 22:15:23 +08:00

check that the version is installed

This commit is contained in:
Joel Bender 2017-03-25 23:12:16 -04:00
parent 6167afcd42
commit 4861d6a387

View File

@ -10,10 +10,12 @@ rm -Rfv build/
# python2.5 setup.py bdist_egg
# rm -Rfv build/
for ver in 2.7 3.4; do
python$ver setup.py bdist_egg
python$ver setup.py bdist_wheel
rm -Rfv build/
for version in 2.7 3.4 3.5 3.6; do
if [ -a "`which python$version`" ]; then
python$ver setup.py bdist_egg
python$ver setup.py bdist_wheel
rm -Rfv build/
fi
done
read -p "Upload to PyPI? [y/n/x] " yesno || exit 1