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>
39 lines
794 B
Bash
Executable File
39 lines
794 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [[ "$ImageOS" == "macos13" ]]; then
|
|
brew uninstall gradle maven
|
|
fi
|
|
brew install \
|
|
freetype \
|
|
ghostscript \
|
|
jpeg-turbo \
|
|
libimagequant \
|
|
libraqm \
|
|
libtiff \
|
|
little-cms2 \
|
|
openjpeg \
|
|
webp \
|
|
aom \
|
|
dav1d \
|
|
rav1e \
|
|
svt-av1
|
|
export PKG_CONFIG_PATH="/usr/local/opt/openblas/lib/pkgconfig"
|
|
|
|
python3 -m pip install coverage
|
|
python3 -m pip install defusedxml
|
|
python3 -m pip install ipython
|
|
python3 -m pip install olefile
|
|
python3 -m pip install -U pytest
|
|
python3 -m pip install -U pytest-cov
|
|
python3 -m pip install -U pytest-timeout
|
|
python3 -m pip install pyroma
|
|
python3 -m pip install numpy
|
|
|
|
# libavif
|
|
pushd depends && ./install_libavif.sh && popd
|
|
|
|
# extra test images
|
|
pushd depends && ./install_extra_test_images.sh && popd
|