inky icon indicating copy to clipboard operation
inky copied to clipboard

PIL library not installed by setup.py

Open cipy opened this issue 5 years ago • 3 comments

the PIL library is required by examples

also missing libraries required by examples: font_fredoka_one, font_hanken_grotesk, font_intuitive

cipy avatar Apr 18 '20 18:04 cipy

Adding PIL as a dependency on Raspberry Pi tends to lead to pip pulling down the source package and attempting to compile it- usually unsucessfully.

Example dependencies shouldn't generally by specified by setup.py because the examples aren't library code. We have an install.sh solution for this with a custom setup.cfg section, but it hasn't been backported to Inky yet.

Thinking about it- It also doesn't support additional requirements via pip, so maybe a requirements.txt in the examples folder is worth implementing.

Gadgetoid avatar Apr 20 '20 10:04 Gadgetoid

True, the examples are something else. Thanks 🙃

cipy avatar Apr 20 '20 14:04 cipy

I reckon example-depends could install pillow? (it doesn't atm)

tilusnet avatar May 12 '22 14:05 tilusnet