@@ -385,40 +385,40 @@ Build Options
385385 using a setting of 1. By default, it uses 4 CPUs, or if 4 are not
386386 available, as many as are present.
387387
388- * Build flags : ``--disable- zlib ``, ``--disable- jpeg ``,
389- ``--disable- tiff ``, ``--disable- freetype ``, ``--disable- raqm ``,
390- ``--disable- lcms ``, ``--disable- webp ``, ``--disable- webpmux ``,
391- ``--disable- jpeg2000 ``, ``--disable- imagequant ``, ``--disable- xcb ``.
388+ * Config settings : ``-C zlib=disable ``, ``-C jpeg=disable ``,
389+ ``-C tiff=disable ``, ``-C freetype=disable ``, ``-C raqm=disable ``,
390+ ``-C lcms=disable ``, ``-C webp=disable ``, ``-C webpmux=disable ``,
391+ ``-C jpeg2000=disable ``, ``-C imagequant=disable ``, ``-C xcb=disable ``.
392392 Disable building the corresponding feature even if the development
393393 libraries are present on the building machine.
394394
395- * Build flags : ``--enable- zlib ``, ``--enable- jpeg ``,
396- ``--enable- tiff ``, ``--enable- freetype ``, ``--enable- raqm ``,
397- ``--enable- lcms ``, ``--enable- webp ``, ``--enable- webpmux ``,
398- ``--enable- jpeg2000 ``, ``--enable- imagequant ``, ``--enable- xcb ``.
395+ * Config settings : ``-C zlib=enable ``, ``-C jpeg=enable ``,
396+ ``-C tiff=enable ``, ``-C freetype=enable ``, ``-C raqm=enable ``,
397+ ``-C lcms=enable ``, ``-C webp=enable ``, ``-C webpmux=enable ``,
398+ ``-C jpeg2000=enable ``, ``-C imagequant=enable ``, ``-C xcb=enable ``.
399399 Require that the corresponding feature is built. The build will raise
400400 an exception if the libraries are not found. Webpmux (WebP metadata)
401401 relies on WebP support. Tcl and Tk also must be used together.
402402
403- * Build flags : ``--vendor- raqm ``, ``--vendor- fribidi ``.
403+ * Config settings : ``-C raqm=vendor ``, ``-C fribidi=vendor ``.
404404 These flags are used to compile a modified version of libraqm and
405405 a shim that dynamically loads libfribidi at runtime. These are
406406 used to compile the standard Pillow wheels. Compiling libraqm requires
407407 a C99-compliant compiler.
408408
409- * Build flag: ``--disable- platform-guessing ``. Skips all of the
409+ * Build flag: ``-C platform-guessing=disable ``. Skips all of the
410410 platform dependent guessing of include and library directories for
411411 automated build systems that configure the proper paths in the
412412 environment variables (e.g. Buildroot).
413413
414- * Build flag: ``-- debug ``. Adds a debugging flag to the include and
414+ * Build flag: ``-C debug=true ``. Adds a debugging flag to the include and
415415 library search process to dump all paths searched for and found to
416416 stdout.
417417
418418
419419Sample usage::
420420
421- python3 -m pip install --upgrade Pillow --global-option="build_ext" --global-option="--enable- [feature]"
421+ python3 -m pip install --upgrade Pillow -C [feature]=enable
422422
423423Platform Support
424424----------------
0 commit comments