Backport Python 3.7 fix for ruffus 2.7.0 from ocrmypdf v7.0.0

This commit is contained in:
James R. Barlow
2018-07-12 02:45:51 -07:00
parent 2ccb3edc58
commit 70aa644c10
5 changed files with 45 additions and 39 deletions
+2 -2
View File
@@ -243,12 +243,12 @@ 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, != 5.1.0 ; sys_platform == "darwin"',
'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
'ruffus >= 2.7.0',
],
extras_require={
'fitz': ['PyMuPDF >= 1.12.5'] # for table of contents bug