mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-13 09:15:46 +03:00
* Removed skip_unless_feature on methods when class is already skipped * Test speed less than slowest and greater than fastest * Updated type hints * Only access angle when AVIF_TRANSFORM_IROT flag is present * Added AVIF_ROOT * Only define normalize_quantize_value if it will be used * Build libavif after libjpeg * Use rgb.rowBytes in overflow check * Group EXIF info * Removed __loaded * If brew is not installed, use /usr prefix * Sort AVIF codecs alphabetically * Updated rav1e license * Fixed catching warning, as per #8505 * Simplified code * Fixed typos * Test further scenarios * Use y* to parse bytes --------- Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com> |
||
---|---|---|
.. | ||
build_prepare.py | ||
build.rst | ||
fribidi.cmake | ||
README.md |
Quick README
For more extensive info, see the Windows build instructions.
-
See Current Windows Build/Testing process (Pillow#553), Definitive docs for how to compile on Windows (matplotlib#1717), Test Windows with GitHub Actions (Pillow#4084).
-
Requires Microsoft Visual Studio 2017 or newer with C++ component.
-
Requires NASM for libjpeg-turbo, a required dependency when using this script.
-
Requires CMake 3.15 or newer (available as Visual Studio component).
-
Tested on Windows Server 2022 with Visual Studio 2022 Enterprise and Windows Server 2019 with Visual Studio 2019 Enterprise (GitHub Actions).
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 .