X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/blobdiff_plain/dd0a5d5e9fbc68fd29948b083bcfea66f144a6c8..1566aef5c5979ee018da8fec5786f9d824efa57a:/setup.py diff --git a/setup.py b/setup.py index 0ec4dd2..e4d2d14 100644 --- a/setup.py +++ b/setup.py @@ -14,14 +14,19 @@ from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path +import sys here = path.abspath(path.dirname(__file__)) requirements = [ "Adafruit-Blinka>=7.0.0", "adafruit-circuitpython-typing", + "pillow", ] +if sys.version_info > (3, 9): + requirements.append("pillow>=9.2.0") + # Get the long description from the README file with open(path.join(here, "README.rst"), encoding="utf-8") as f: long_description = f.read()