pimoroni / inky

Combined library for V2/V3 Inky pHAT and Inky wHAT.
https://shop.pimoroni.com/?q=inky
MIT License
594 stars 122 forks source link

PIL library not installed by setup.py #50

Closed cipy closed 1 year ago

cipy commented 4 years ago

the PIL library is required by examples

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

Gadgetoid commented 4 years ago

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.

cipy commented 4 years ago

True, the examples are something else. Thanks 🙃

tilusnet commented 2 years ago

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