Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some minor improvements #2651

Merged
merged 6 commits into from
Sep 10, 2023
Merged

Conversation

julian-smith-artifex-com
Copy link
Collaborator

No description provided.

We now use full path when including MuPDF headers.
…l_dir().

Also  minor improvement to listing of wheel contents.
Building tesseract fails because of a known bug in Pyodide, so for now we
disable tesseract when building for Pyodide.
Support new environment variables for when building with system MuPDF.

Moved classic/rebased extension code into separate functions and moved common
setting of build flags into new fn.
If `from . import mupdf` fails, we now also try `import mupdf`. This allows
things to work if mupdf module is installed separately, e.g. as part of system
installation of MuPDF.
Also extended test_tesseract() to assert that page.get_textpage_ocr() succeeds
if TESSDATA_PREFIX is set in environment.
@julian-smith-artifex-com julian-smith-artifex-com merged commit 6bd3a97 into pymupdf:main Sep 10, 2023
2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Sep 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants