From 85ebba72bc79258fa99e17c5fab2eee7f7fc9570 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Tue, 10 Apr 2018 18:30:48 -0700 Subject: [PATCH] Fix setup.py syntax --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 907a171c..4537de77 100644 --- a/setup.py +++ b/setup.py @@ -243,8 +243,9 @@ setup( 'cffi >= 1.9.1', # must be a setup and install requirement 'defusedxml >= 0.5.0', # pure Python, so track HEAD closely 'img2pdf >= 0.2.4', # pure Python, so track HEAD closely - 'Pillow >= 4.0.0', # Pillow < 4 has BytesIO/TIFF bug w/img2pdf 0.2.3 - 'Pillow != 5.1.0 ; platform_system == "Darwin"', # block 5.1.0, broken wheels + 'Pillow >= 4.0.0, != 5.1.0 ; sys_platform == "darwin"', + # Pillow < 4 has BytesIO/TIFF bug w/img2pdf 0.2.3 + # block 5.1.0, broken wheels 'PyPDF2 >= 1.26', # pure Python, so track HEAD closely 'reportlab >= 3.3.0', # oldest released version with sane image handling 'ruffus == 2.6.3', # pinned - ocrmypdf implements a 2.6.3 workaround