James R. Barlow
|
a4dc5e365f
|
logging: fix incorrect usage: logging.Logger()
|
2020-01-01 16:47:36 -08:00 |
|
James R. Barlow
|
708113a514
|
Windows: Remove Program Files cache from ocrmypdf.exec
@lru_cache doesn't work here, so let's just remove it.
|
2019-12-29 02:36:20 -08:00 |
|
James R. Barlow
|
868b3b4abd
|
exec/init: os.get_exec_path() returns list not str
|
2019-12-28 16:11:08 -08:00 |
|
James R. Barlow
|
c5edff2c2f
|
Sort imports
|
2019-12-19 15:31:18 -08:00 |
|
James R. Barlow
|
39da931a56
|
Look in Program Files for executables and liblept5.dll
|
2019-12-19 12:11:32 -08:00 |
|
James R. Barlow
|
65855dc14c
|
Fix close_fds=True on Windows Python 3.6
|
2019-12-09 16:17:10 -08:00 |
|
James R. Barlow
|
cb3cfaa055
|
Add Windows install advice
|
2019-12-04 21:01:09 -08:00 |
|
James R. Barlow
|
06a1f987d4
|
Use _OCRMYPDF_TEST_PATH for testing and .py stubs to simulate symlinks
|
2019-12-04 21:01:06 -08:00 |
|
James R. Barlow
|
5f00e4f9d8
|
Sort imports
|
2019-07-27 04:51:52 -07:00 |
|
James R. Barlow
|
eb5200d26a
|
Change most tests to use ocrmypdf API instead of subprocess
The main benefit of this is code coverage gains can actually follow it.
Also removes most ugly os.environ hacks.
|
2019-06-03 01:45:27 -07:00 |
|
James R. Barlow
|
e4baa8c0dd
|
Remove sys.exit() calls so we don't terminate caller application
|
2019-05-20 15:08:20 -07:00 |
|
James R. Barlow
|
50bd129d7a
|
logging: don't pass log object to validation
|
2019-05-16 01:58:48 -07:00 |
|
James R. Barlow
|
1b4542aa77
|
Further fixes to external program version testing
|
2019-03-07 14:27:16 -08:00 |
|
James R. Barlow
|
c19c852705
|
Fix exception while attempting to print error message for missing program
|
2019-03-05 16:32:48 -08:00 |
|
James R. Barlow
|
67a405c6b7
|
Move install-time external program checks out of setup.py
We did runtime tests for several of them anyway, and it's better to do
at runtime since config may change after installation.
|
2019-03-03 03:26:56 -08:00 |
|
James R. Barlow
|
c771938907
|
Convert to f-strings where it makes sense
|
2018-12-31 15:01:19 -08:00 |
|
James R. Barlow
|
06308a22ce
|
Reformat with black
|
2018-12-30 01:27:49 -08:00 |
|
James R. Barlow
|
72156b5653
|
Degrade more gracefully when --optimize is set but JBIG2 is not present
|
2018-10-03 14:24:20 -07:00 |
|
James R. Barlow
|
921767e82e
|
ocrmypdf.exec: trap FileNotFoundError too
|
2018-07-03 00:05:49 -07:00 |
|
James R. Barlow
|
db8b0319dd
|
get_version: repeat system error messages if the process exists with a signal
|
2018-04-09 13:04:51 -07:00 |
|
James R. Barlow
|
af085b79dd
|
Move ocrmypdf to src/ocrmypdf
|
2018-03-24 23:59:08 -07:00 |
|