This commit is contained in:
nulano 2020-11-25 19:33:33 +00:00 committed by Andrew Murray
parent 9c178435fb
commit db0dad909e

View File

@ -29,6 +29,8 @@ def get_version():
NAME = "Pillow" NAME = "Pillow"
PILLOW_VERSION = get_version() PILLOW_VERSION = get_version()
FREETYPE_ROOT = None FREETYPE_ROOT = None
HARFBUZZ_ROOT = None
FRIBIDI_ROOT = None
IMAGEQUANT_ROOT = None IMAGEQUANT_ROOT = None
JPEG2K_ROOT = None JPEG2K_ROOT = None
JPEG_ROOT = None JPEG_ROOT = None
@ -417,6 +419,8 @@ class pil_build_ext(build_ext):
TIFF_ROOT=("libtiff-5", "libtiff-4"), TIFF_ROOT=("libtiff-5", "libtiff-4"),
ZLIB_ROOT="zlib", ZLIB_ROOT="zlib",
FREETYPE_ROOT="freetype2", FREETYPE_ROOT="freetype2",
HARFBUZZ_ROOT="harfbuzz",
FRIBIDI_ROOT="fribidi",
LCMS_ROOT="lcms2", LCMS_ROOT="lcms2",
IMAGEQUANT_ROOT="libimagequant", IMAGEQUANT_ROOT="libimagequant",
).items(): ).items():