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:
parent
6167afcd42
commit
4861d6a387
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user