python-qt5/pyuic5.sh

8 lines
183 B
Bash
Raw Normal View History

#!/bin/sh
2017-01-27 13:34:22 +00:00
@PYTHON3@ -c "import PyQt5.uic.pyuic" &> /dev/null
if [ $? -eq 0 ]; then
exec @PYTHON3@ -m PyQt5.uic.pyuic ${1+"$@"}
else
exec @PYTHON2@ -m PyQt5.uic.pyuic ${1+"$@"}
fi