Debian now has a few disadvantages: -there is no convenient PPA for Debian tesseract 4.0, but there is for Ubuntu -Ubuntu sets locale to UTF-8 automatically removing the need to do this All three ocrmypdf docker images are now based on a common Ubuntu 16.10 image, derived from the one used to build ocrmypdf-tess4. -polyglot now differs from -tess4 only by opting into the tess4 PPA. Both Ubuntu 16.10 and Debian stretch use tesseract 3.04.01 now making the sharp.ttf patch unnecessary. /etc/apt/sources has been unused for a while now both have newer Ghostscripts.
49 lines
973 B
Plaintext
49 lines
973 B
Plaintext
# requirements
|
|
include requirements.txt
|
|
include test_requirements.txt
|
|
include dev_requirements.txt
|
|
|
|
# git
|
|
include .git_archival.txt
|
|
|
|
# docker
|
|
include Dockerfile
|
|
include Dockerfile.polyglot
|
|
include .dockerignore
|
|
|
|
# tests
|
|
include pytest.ini
|
|
recursive-include tests *.jpg
|
|
recursive-include tests *.png
|
|
recursive-include tests *.pdf
|
|
recursive-include tests *.py
|
|
recursive-include tests *.rst
|
|
recursive-include tests *.txt
|
|
recursive-exclude tests/output *
|
|
recursive-exclude tests/output_pageinfo *
|
|
recursive-exclude tests/resources/private *
|
|
recursive-exclude tests/cache *
|
|
|
|
# documentation
|
|
include *.rst
|
|
include pipeline.svg
|
|
recursive-exclude .github *
|
|
recursive-include docs *.py
|
|
recursive-include docs *.rst
|
|
recursive-include docs *.svg
|
|
recursive-exclude docs/_build *
|
|
|
|
|
|
# support files
|
|
recursive-include ocrmypdf/data *
|
|
include *.py
|
|
exclude tasks.py
|
|
|
|
# code
|
|
recursive-include ocrmypdf *.py
|
|
exclude ocrmypdf/lib/_leptonica.py
|
|
include OCRmyPDF.sh
|
|
include docker-wrapper.sh
|
|
|
|
|