From ff94206a05cc11bd21e9dc4fd4fb693816b6596f Mon Sep 17 00:00:00 2001 From: Nicolas F Date: Sun, 16 May 2021 18:26:36 +0200 Subject: [PATCH] setup.py: don't error out when PIL can't be found It may still be in the include directories provided by the operating system, such as it is on the vast majority of Linux distributions. --- setup.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/setup.py b/setup.py index 65c3c8e..a6f7cf0 100755 --- a/setup.py +++ b/setup.py @@ -213,11 +213,6 @@ if not os.path.exists(imaging_path): if os.path.exists(imaging_path): pil_include.append(imaging_path) -if not pil_include: - print('ERROR: Could not find Python Imaging library') - print(BUILD_ERROR) - sys.exit(1) - SRC_PATH = 'overviewer_core/src/' # used to figure out what files to compile