From ba11683d45d36cc50e737776418f0d8ee8ca6971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Boulogne?= Date: Thu, 3 Apr 2014 19:56:02 -0400 Subject: [PATCH] update info about PIL --- DEPENDS.txt | 4 ++++ skimage/io/_plugins/pil_plugin.py | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/DEPENDS.txt b/DEPENDS.txt index 04b745c2..f4527807 100644 --- a/DEPENDS.txt +++ b/DEPENDS.txt @@ -46,6 +46,10 @@ functionality is only available with the following installed: The ``pyamg`` module is used for the fast `cg_mg` mode of random walker segmentation. +* `Pillow `__ + (or <`PIL http://www.pythonware.com/products/pil/>`__) + The ``Pillow`` (or equivalently ``PIL``) is used for Input/Output. + Testing requirements -------------------- * `Nose `__ diff --git a/skimage/io/_plugins/pil_plugin.py b/skimage/io/_plugins/pil_plugin.py index 6dd78035..88e7f04b 100644 --- a/skimage/io/_plugins/pil_plugin.py +++ b/skimage/io/_plugins/pil_plugin.py @@ -6,7 +6,9 @@ try: from PIL import Image except ImportError: raise ImportError("The Python Image Library could not be found. " - "Please refer to http://pypi.python.org/pypi/PIL/ " + "Please refer to " + "https://pypi.python.org/pypi/Pillow/ (or " + "http://pypi.python.org/pypi/PIL/) " "for further instructions.") from skimage.util import img_as_ubyte