From 42eee71a8ed7797f95d088e518420cfa0ed3fe63 Mon Sep 17 00:00:00 2001 From: Mauricio Date: Sun, 2 Aug 2020 20:55:19 -0400 Subject: [PATCH] update to Pillow 6.1.0 on quicksetup.py --- quicksetup.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/quicksetup.py b/quicksetup.py index f1af7e7..07b2b58 100644 --- a/quicksetup.py +++ b/quicksetup.py @@ -60,15 +60,17 @@ pip_install("apng") try: from PIL import Image - if Image.__version__ != "6.0.0": - jm = raw_input("Pillow version 6.0.0 is recommended for compatibility with PyQt4; You have version %s\nReplace with version 6.0.0? (Y/N) > " % Image.__version__).lower() + if Image.__version__ != "6.1.0": + jm = raw_input("Pillow version 6.1.0 is recommended for compatibility with PyQt4; You have version %s\nReplace with version 6.1.0? (Y/N) > " % Image.__version__).lower() if jm == "y": - print "installing Pillow 6.0.0" - pip_install("Pillow==6.0.0") + print "installing Pillow 6.1.0" + pip_install("Pillow==6.1.0") + else: + print "Pillow 6.1.0 already exists, skipping" except ImportError: - print "installing Pillow 6.0.0" - pip_install("Pillow==6.0.0") + print "installing Pillow 6.1.0" + pip_install("Pillow==6.1.0") print "downloading pyqt4"