summaryrefslogtreecommitdiffstats
path: root/python/python3-PyMuPDF/README
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-PyMuPDF/README')
-rw-r--r--python/python3-PyMuPDF/README11
1 files changed, 8 insertions, 3 deletions
diff --git a/python/python3-PyMuPDF/README b/python/python3-PyMuPDF/README
index da799f0765..9a35043dd8 100644
--- a/python/python3-PyMuPDF/README
+++ b/python/python3-PyMuPDF/README
@@ -12,8 +12,13 @@ can also be handled like documents: .png, .jpg, .bmp, .tiff, etc.
krop (available on SBo) can use PyMuPDF for both rendering and cropping.
-To be on the safe side, keep the version of python3-PyMuPDF in sync with
-the mupdf version.
+Mupdf is not a dependency because all of the necessary code is built
+into PyMuPDF.
-Optional autodetected dependencies are python-fonttools, tesseract, and
+Optional runtime dependencies are python3-fonttools, tesseract, and
python3-pymupdf_fonts.
+
+To enable Tesseract OCR functions in PyMuPDF, the software must be
+installed and the system environment variable TESSDATA_PREFIX must
+be defined as follows:
+export TESSDATA_PREFIX=/usr/share/tessdata