Sat, 22 Aug 2015 17:15:01 +0200
Enhanced the install.py help info in case no PyQt variant can be found.
install.py | file | annotate | diff | comparison | revisions |
--- a/install.py Fri Aug 21 14:16:37 2015 +0200 +++ b/install.py Sat Aug 22 17:15:01 2015 +0200 @@ -174,7 +174,10 @@ print(" -y add the Python variant to the executable names") print(" -z don't compile the installed python files") print(" --pyqt=version version of PyQt to be used (one of 4 or 5)") - print(" (default: {0})".format(pyqtVariant[-1])) + if pyqtVariant: + print(" (default: {0})".format(pyqtVariant[-1])) + else: + print(" (no PyQt variant found)") print() print("The file given to the -f option must be valid Python code" " defining a")