Pillow/wheels
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
..
dependency_licenses fix(avif): use only aomenc and dav1d to reduce wheel size 2025-04-02 12:23:43 -04:00
multibuild@42d761728d Updated libjpeg-turbo URL 2024-12-18 10:39:52 +11:00
README.md Windows wheels are now grouped with the others 2024-09-12 16:57:28 +10:00

README

cibuildwheel is used to build wheels for tagged versions of Pillow.

This directory contains multibuild to build dependencies for macOS and Linux wheels, and dependency licenses to be included.

Archives

https://github.com/python-pillow/pillow-depends contains archives for libraries that will be built as part of the Pillow build.

In general, there is no need to put library archives there, because the multibuild scripts will download them from their respective URLs.

But, the build will look in that repository before downloading from the URL, so if there is a library that often fails to download, or you think might fail to download, then download it and add it to the Git repository.

See build in .github/workflows/wheels-dependencies.sh and the fetch_unpack routine in multibuild/common_utils.sh for the logic, and the build recipes in multibuild/library_builders.sh for the filename to give to the downloaded archive.

Wheels

Wheels are GitHub Actions artifacts created for tags, relevant changes or manual builds.