From ac92468808a872dd29acc4a640cc44bd03e616cb Mon Sep 17 00:00:00 2001 From: wiredfool Date: Tue, 8 Mar 2016 10:30:37 -0800 Subject: [PATCH] Fix the error reported when libz is not found --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 265c097ba..561b640e6 100644 --- a/setup.py +++ b/setup.py @@ -510,7 +510,7 @@ class pil_build_ext(build_ext): for f in feature: if not getattr(feature, f) and feature.require(f): - if f in ('jpeg', 'libz'): + if f in ('jpeg', 'zlib'): raise ValueError('%s is required unless explicitly disabled' ' using --disable-%s, aborting' % (f, f))