Is there a way to include poppler files with a mac app developed using python

137 Views Asked by At

I'm developing a macOS app using python that has a step to convert pdf to image. pdf2image is being used, and it has a dependency on poppler. I want the app such that it does not have any external dependencies. (Such as installation of homebrew and poppler using homebrew)

Wanted to know if there are portable binaries of poppler for macOS similar to the windows binaries.

I tried to copy the files from the installation folder from macOS, but some library paths cannot be changed. I'm using pyinstaller to create the app.

Is there a way to include the dependent poppler files in app or package?

0

There are 0 best solutions below