mirror of
https://github.com/JoelBender/bacpypes
synced 2025-10-05 22:18:16 +08:00
check that the version is installed
This commit is contained in:
parent
6167afcd42
commit
4861d6a387
|
@ -10,10 +10,12 @@ rm -Rfv build/
|
||||||
# python2.5 setup.py bdist_egg
|
# python2.5 setup.py bdist_egg
|
||||||
# rm -Rfv build/
|
# rm -Rfv build/
|
||||||
|
|
||||||
for ver in 2.7 3.4; do
|
for version in 2.7 3.4 3.5 3.6; do
|
||||||
python$ver setup.py bdist_egg
|
if [ -a "`which python$version`" ]; then
|
||||||
python$ver setup.py bdist_wheel
|
python$ver setup.py bdist_egg
|
||||||
rm -Rfv build/
|
python$ver setup.py bdist_wheel
|
||||||
|
rm -Rfv build/
|
||||||
|
fi
|
||||||
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