Refer user to docs on error

This commit is contained in:
hugovk 2016-10-19 17:05:10 +03:00
parent eb3b9618cd
commit 88d7728f8e

View File

@ -518,7 +518,9 @@ class pil_build_ext(build_ext):
if f in ('jpeg', 'zlib'):
raise ValueError(
'%s is required unless explicitly disabled'
' using --disable-%s, aborting' % (f, f))
' using --disable-%s, aborting. See https://pillow.'
'readthedocs.io/en/latest/installation.html for more '
'info' % (f, f))
raise ValueError(
'--enable-%s requested but %s not found, aborting.' %
(f, f))