Open fernandojunior opened 9 years ago
@diegorusso what do you think about it? @fernandojunior Thanks for the script, please send a pull request if you would like change the readme. :)
What the script does is ok. What I don't like is how it does it. What if one of these commands fail? I see also dependencies for two different releases of Ubuntu. Two options here:
What if someone is using an rpm based linux? Here just an idea: http://www.mirkopagliai.it/bash-scripting-check-for-and-install-missing-dependencies/
I hope this helps.
@diegorusso I like the idea of an automated install script for Pillow. Not sure though how to integrate the script into the installation process. What do you think should be the best way to proceed? Docs or script? I'll fix @fernandojunior 's script if needed.
@devilicecream I would prefer a script but I think now it is not so critical. If you have time to fix the script, off you go. If don't, just create a nice README that covers at least Ubuntu and an rpm based distribution.
I got some errors when tried to install Pillow on ubuntu. "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 44: ordinal not in range(128)", for example.
Pillow docs say that many of Pillow’s features require external libraries (libjpeg, zlib, libtiff, libfreetype, etc.).
Here a script to install some dependencies on ubuntu (https://gist.github.com/fernandojunior/17b027e3d5996721abe3)