Pillow/winbuild
Frankie Dintino 8b4e66e10a
fix(avif): use only aomenc and dav1d to reduce wheel size
Also build libavif as a shared library. When it is built as a static
library, the dependency library files are combined into a single
archive. But when they are linked as a shared library, the linker is
able to remove unused objects. This yields a modest but not
insignificant file size reduction.
2025-04-02 12:23:43 -04:00
..
build_prepare.py fix(avif): use only aomenc and dav1d to reduce wheel size 2025-04-02 12:23:43 -04:00
build.rst Add AVIF plugin (decoder + encoder using libavif) (#5201) 2025-04-01 07:13:21 +03:00
fribidi.cmake cross-complie fribidi for windows arm64 2023-12-12 22:54:24 +01:00
README.md Update winbuild/README.md 2024-11-07 12:54:28 +02:00

Quick README

For more extensive info, see the Windows build instructions.

Here's an example script to build on Windows:

set PYTHON=C:\Python39\bin
cd /D C:\Pillow\winbuild
%PYTHON%\python.exe build_prepare.py -v --depends=C:\pillow-depends
build\build_dep_all.cmd
cd ..
%PYTHON%\python.exe -m pip install -v -C raqm=vendor -C fribidi=vendor .
path C:\Pillow\winbuild\build\bin;%PATH%
%PYTHON%\python.exe selftest.py
%PYTHON%\python.exe -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
%PYTHON%\python.exe -m pip wheel -v -C raqm=vendor -C fribidi=vendor .