Closed bglezseoane closed 5 years ago
Do you have the prerequisites installed?
https://pillow.readthedocs.io/en/stable/installation.html#building-on-macos
I have the prerequisites installed and can install Pillow following the instructions since my working environment. But now I need to grave the setup process into a Homebrew recipe to make my application portable, and Pillow is being a difficult dependence to include in the recipe. Since Homebrew uses isolated Python agents to install kegs, the dependencies of Pillow seems unsatisfied during the process.
Should the Pillow prerequisites be included in the recipe? You have the Pillow source code there, and a couple of other things unrelated to Pillow. Is there an "official" Pillow recipe at Homebrew?
Yes, but the normal way to include dependencies in projects like this is linking another Homebrew formulas or declaring Python dependencies in case of want to use PIP in the install process. I can not use the first option because there is not a Pillow Homebrew recipe and the second one does not works as I declare here.
You look like you came up with a solution for this - https://github.com/glezseoane/homebrew-tap/commit/3c1fcfccdd02021dbc2207908d81ff59c8d9569b#diff-ae1a6c4ca58cc61479321e079bf977b4. Are you happy with that?
Yes. I was aiming to close this incident by commenting on the solution I had reached. Thank you!
same here when trying to build with nix
(some other builder like homebrew
)
explicit dependencies are better.
Some of my self maintained programs use Pillow and Homebrew tap recipes are a very useful installation method. However, it is impossible for me to do because Homebrew fails when try to install a Pillow isolate version to an individual program use.
Example of a recipe which uses Pillow:
Homebrew error output:
Since macOS Mojave 10.14.5 with Python 3.7 and Homebrew updated.