James R. Barlow
b0eacd6586
Add Python 3.7 support
2018-06-28 13:57:45 -07:00
James R. Barlow
bf214eecb3
Use newer pikepdf API for objgen
2018-06-28 12:59:01 -07:00
James R. Barlow
b9dc109892
optimize: use new pikepdf api for objgen
2018-06-24 00:16:28 -07:00
James R. Barlow
8c84c515b6
Use Ghostscript for text region detection
...
Ghostscript txtwrite seems to be quite effective at the task.
Eliminates dependency on fitz
2018-06-13 00:58:09 -07:00
James R. Barlow
1dfbbdebf4
Adjust for pikepdf API change
2018-06-08 22:47:56 -07:00
James R. Barlow
cf43c06f46
Use python-xmp-toolkit for xmp check
...
Eliminates PyPDF2 and defusedxml as dependencies.
2018-05-29 22:00:52 -07:00
James R. Barlow
93b858afd1
Remove qpdf appimage support for now, check for pngquant
2018-05-18 16:24:33 -07:00
James R. Barlow
d5fb275e9e
Travis: hack in qpdf appimage version
...
qpdf from appimage does not report its version with --version if renamed
or accessed via symlink. Use an environment variable to supply it
where needed.
2018-05-15 17:45:58 -07:00
James R. Barlow
96e453feb6
Travis: Tweak setup so it can run
2018-05-13 01:21:24 -07:00
James R. Barlow
b6d30214fd
PyMuPDF 1.13.4 looks good, use it
2018-05-12 12:35:46 -07:00
James R. Barlow
f00183115d
Update our dependencies
2018-05-11 02:11:55 -07:00
James R. Barlow
601863f9e9
Return to PyMuPDF 1.12.5
2018-05-10 18:47:10 -07:00
James R. Barlow
63032d304d
Revert "Since PyMuPDF 1.13.3 corrupts text, pin 1.12.5 and work around it"
...
This reverts commit b0ce7c63dd27257d9c979fde9013243b8ae38c98.
2018-05-10 16:27:17 -07:00
James R. Barlow
b0ce7c63dd
Since PyMuPDF 1.13.3 corrupts text, pin 1.12.5 and work around it
2018-05-10 16:10:24 -07:00
James R. Barlow
001c8d7678
Upgrade PyMuPDF version
2018-05-07 16:24:26 -07:00
James R. Barlow
fedbbdb575
Travis: compile qpdf from source
...
The older version in Travis's Ubuntu 14.04 can't pass the test suite anymore.
2018-04-11 15:40:45 -07:00
James R. Barlow
85ebba72bc
Fix setup.py syntax
2018-04-10 18:30:48 -07:00
James R. Barlow
b6cd436d5d
setup: Blacklist Pillow 5.1.0 on macos
...
https://github.com/python-pillow/Pillow/issues/3068
2018-04-10 18:15:37 -07:00
James R. Barlow
0e7fa78e65
Remove inaccurate statement from setup.py
2018-04-01 13:20:17 -07:00
James R. Barlow
158f902c3b
Fixed setup.py syntax error
2018-03-30 14:00:36 -07:00
James R. Barlow
6dc25ddc6e
v6.1.2: add license to wheels, depend on defusedxml
2018-03-30 13:22:35 -07:00
James R. Barlow
7f6aaeaecf
v6.1.2
2018-03-30 12:39:33 -07:00
James R. Barlow
3e444f6a90
Make fitz optional
2018-03-26 13:22:09 -07:00
James R. Barlow
f68eaa3b46
Fix PyMuPDF version for Travis
2018-03-25 00:36:26 -07:00
James R. Barlow
af085b79dd
Move ocrmypdf to src/ocrmypdf
2018-03-24 23:59:08 -07:00
James R. Barlow
46601b1350
setup: skip 1.12.4.1 since it does not provide wheels
2018-03-24 02:59:58 -07:00
James R. Barlow
6756016572
Add license notice to all files
...
Source files to GPL3
Exceptions:
-tests/spoof/* to MIT
-hocrtransform.py
-_unicodefun.py
Test resources to CC BY-SA 4.0 except when otherwise noted.
Add GPL license.
2018-03-24 02:33:24 -07:00
James R. Barlow
efecf42566
Add PyMuPDF and use to detect text on pages
2018-03-24 02:16:53 -07:00
James R. Barlow
e5f27b7a12
Solve text detection issue with PyMuPDF
2018-03-15 22:29:56 -07:00
James R. Barlow
31a1f9f5ea
pytest-runner should be a setup requirement
2017-11-26 22:51:51 -08:00
James R. Barlow
5d2c67c62b
Declare in yet another place that this shouldn't run on py2
2017-11-16 14:54:28 -08:00
James R. Barlow
be5831a629
Offer the readme as a long description for new PyPI
2017-08-23 23:29:21 -07:00
James R. Barlow
5e26bb29d9
Update requirements files
2017-05-12 11:41:15 -07:00
James R. Barlow
64314c1b82
Insist on Python 3.5 wherever we check for it
2017-05-11 23:51:45 -07:00
James R. Barlow
83230097ae
Insist on Tesseract 3.04 wherever we check for it
2017-05-11 23:51:28 -07:00
James R. Barlow
65e4b1672f
cffi: verbose=True
2017-01-27 14:17:13 -08:00
James R. Barlow
46cc0dd190
Revert "Do we need to exclude ocrmypdf.lib?"
...
This reverts commit 678b9fb603e2ce1bc12a34e14a715dcce5fc4a9c.
2017-01-27 13:51:30 -08:00
James R. Barlow
678b9fb603
Do we need to exclude ocrmypdf.lib?
2017-01-27 13:49:11 -08:00
James R. Barlow
49ab0c1f0b
setup.py: cffi is definitely needed in setup_requires
2017-01-27 13:43:47 -08:00
James R. Barlow
ab490a7736
Experiment: update *requirements.txt, use more current travis build steps
...
Perhaps this works around the pip/setup.py asymmetry that broke the
4.4 release.
2017-01-27 13:13:14 -08:00
James R. Barlow
e4ce1dae35
setup.py: for some reason, subpackages must be explicitly specified
2017-01-27 00:37:05 -08:00
James R. Barlow
fb9e7c82f6
Move duplicate test code into common namespace
2017-01-26 13:36:52 -08:00
James R. Barlow
68aef489de
Merge branch 'master' (4.3.5, Python 3.6 support) into develop
...
# Conflicts:
# dev_requirements.txt
# requirements.txt
2017-01-20 14:25:28 -08:00
James R. Barlow
9e004c3ec0
Another attempt at py 3.4/3.5
...
Revert to exactly what the previous passing build specified.
2017-01-03 00:34:26 -08:00
James R. Barlow
7be4e9c919
fix setuptools-scm for py 3.4, 3.5
2017-01-03 00:25:57 -08:00
James R. Barlow
5ec38a4bed
Update requirements files and documentation for Python 3.6 - no code changes
2017-01-03 00:11:34 -08:00
James R. Barlow
1ae1d116c7
Make setup.py license internally consistent
2016-12-08 16:06:31 -08:00
James R. Barlow
88be0d43a0
Make setup.py license internally consistent
2016-12-03 21:37:24 -08:00
James R. Barlow
8982b3e1e2
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)
2016-12-03 14:14:07 -08:00
James R. Barlow
245f05d5f4
docs: allow python setup.py install --force to bypass checks
...
ReadTheDocs needs this.
2016-10-28 00:07:26 -07:00