Skip to content
Discussion options

You must be logged in to vote

PyMuPDF is not a pure Python package, it uses the powerful PDF C library MuPDF, with additional C++ and Python code auto-generated using the libclang parser and SWIG, which is used by the top-level hand-written Python and C++ code that provides the PyMuPDF API. The resulting wheel/installation has various dynamic libraries and Python code that are all carefully arranged to work together at runtime.

There is absolutely not point in trying to write your own setup.py. PyMuPDF already comes with a setup.py that manages the quite complicated task of building the various components. It is known to work, and is regularly tested, on Windows, Linux (x64 and aarch64) and MacOS (x64 and arm64).

I'm …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nouman-x-ahmad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants