From a81ac5312cf5a94e26b134302dcf12d7e377fd3b Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Wed, 3 Jul 2019 14:24:17 -0400 Subject: [PATCH] setup.py: declare an optional dependency on Pillow Needed in order to advertise support for image processing, which will gracefully fallback on doing nothing, but would ideally let you know via pip that you should actually install the additional feature. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index d7b99e47..df1397f0 100644 --- a/setup.py +++ b/setup.py @@ -89,6 +89,7 @@ setup( # for example: # $ pip install -e .[dev,test] extras_require={ + 'image_processing': ['Pillow'], # 'dev': ['check-manifest'], # 'test': ['coverage'], },