Update requirements

-update requirements.txt and dev_requirements.txt to more recent version
-setup.py updated to Ubuntu 14.04 rather than 12.04 backports
-request at least Pillow 3.1.1 now (since this makes jpeg/png mandatory)
This commit is contained in:
James R. Barlow
2016-12-03 14:14:07 -08:00
parent be0fa35d14
commit 8982b3e1e2
3 changed files with 16 additions and 14 deletions
+6 -4
View File
@@ -1,4 +1,6 @@
check-manifest>=0.33
setuptools-scm>=1.11.1
twine>=1.8.1
coverage>=4.2
check-manifest >= 0.33
twine >= 1.8.1
coverage >= 4.2
GitPython == 2.1.0
setuptools-scm >= 1.11.1, != 1.13.1
setuptools_scm_git_archive == 1.0
+6 -6
View File
@@ -1,9 +1,9 @@
# requirements.txt can be used to replicate the developer's build environment
# setup.py lists a separate set of requirements that are looser to simplify
# installation
ruffus==2.6.3
Pillow==3.3.0
reportlab==3.2.0
PyPDF2==1.26
img2pdf==0.2.1
cffi==1.5.2
ruffus == 2.6.3
Pillow == 3.4.2
reportlab == 3.3.0
PyPDF2 == 1.26
img2pdf == 0.2.1
cffi == 1.9.1
+4 -4
View File
@@ -155,12 +155,12 @@ if not forced and command.startswith('install') or \
command in ['check', 'test', 'nosetests', 'easy_install']:
check_external_program(
program='tesseract',
need_version='3.03', # limited by Travis CI / Ubuntu 12.04 backports
need_version='3.03', # limited by Travis CI / Ubuntu 14.04 backports
package={'darwin': 'tesseract', 'linux': 'tesseract-ocr'}
)
check_external_program(
program='gs',
need_version='9.15', # limited by Travis CI / Ubuntu 12.04 backports
need_version='9.15', # limited by Travis CI / Ubuntu 14.04 backports
package='ghostscript'
)
check_external_program(
@@ -171,7 +171,7 @@ if not forced and command.startswith('install') or \
)
check_external_program(
program='qpdf',
need_version='5.0.0', # limited by Travis CI / Ubuntu 12.04 backports
need_version='5.1.1', # limited by Travis CI / Ubuntu 14.04 backports
package='qpdf',
version_check_args=['--version']
)
@@ -221,7 +221,7 @@ setup(
],
install_requires=[
'ruffus==2.6.3', # pinned - ocrmypdf implements a 2.6.3 workaround
'Pillow>=3.1.0', # Pillow is pretty stable
'Pillow>=3.1.1', # Pillow is pretty stable
'reportlab>=3.2.0', # oldest released version with sane image handling
'PyPDF2>=1.26', # pure Python, so track HEAD closely
'img2pdf>=0.2.1', # pure Python, so track HEAD closely