2019-09-22 23:09:59 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2024-01-30 23:10:22 +03:00
|
|
|
brew install \
|
|
|
|
freetype \
|
|
|
|
ghostscript \
|
|
|
|
libimagequant \
|
|
|
|
libjpeg \
|
|
|
|
libtiff \
|
|
|
|
little-cms2 \
|
|
|
|
openjpeg \
|
|
|
|
webp
|
2024-06-15 04:51:02 +03:00
|
|
|
if [[ "$ImageOS" == "macos13" ]]; then
|
|
|
|
brew install --ignore-dependencies libraqm
|
|
|
|
else
|
|
|
|
brew install libraqm
|
|
|
|
fi
|
2023-09-18 15:31:50 +03:00
|
|
|
export PKG_CONFIG_PATH="/usr/local/opt/openblas/lib/pkgconfig"
|
2019-09-22 23:09:59 +03:00
|
|
|
|
2023-11-08 14:58:58 +03:00
|
|
|
# TODO Update condition when cffi supports 3.13
|
|
|
|
if ! [[ "$GHA_PYTHON_VERSION" == "3.13" ]]; then PYTHONOPTIMIZE=0 python3 -m pip install cffi ; fi
|
|
|
|
|
2020-10-29 14:41:29 +03:00
|
|
|
python3 -m pip install coverage
|
2021-06-30 04:28:00 +03:00
|
|
|
python3 -m pip install defusedxml
|
2020-10-29 14:41:29 +03:00
|
|
|
python3 -m pip install olefile
|
|
|
|
python3 -m pip install -U pytest
|
|
|
|
python3 -m pip install -U pytest-cov
|
2021-03-12 00:32:30 +03:00
|
|
|
python3 -m pip install -U pytest-timeout
|
2020-10-29 14:41:29 +03:00
|
|
|
python3 -m pip install pyroma
|
2020-06-21 10:03:15 +03:00
|
|
|
|
2023-11-08 14:58:58 +03:00
|
|
|
# TODO Update condition when NumPy supports 3.13
|
|
|
|
if ! [[ "$GHA_PYTHON_VERSION" == "3.13" ]]; then python3 -m pip install numpy ; fi
|
2019-09-22 23:09:59 +03:00
|
|
|
|
|
|
|
# extra test images
|
|
|
|
pushd depends && ./install_extra_test_images.sh && popd
|