2019-09-22 23:09:59 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2020-11-25 09:58:13 +03:00
|
|
|
brew install libtiff libjpeg openjpeg libimagequant webp little-cms2 freetype openblas libraqm
|
2019-09-22 23:09:59 +03:00
|
|
|
|
2020-10-29 14:41:29 +03:00
|
|
|
PYTHONOPTIMIZE=0 python3 -m pip install cffi
|
|
|
|
python3 -m pip install coverage
|
|
|
|
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
|
|
|
|
python3 -m pip install test-image-results
|
2020-06-21 10:03:15 +03:00
|
|
|
|
|
|
|
echo -e "[openblas]\nlibraries = openblas\nlibrary_dirs = /usr/local/opt/openblas/lib" >> ~/.numpy-site.cfg
|
2020-10-14 21:26:45 +03:00
|
|
|
# TODO Remove condition when numpy supports 3.10
|
2021-04-30 11:35:27 +03:00
|
|
|
if ! [ "$GHA_PYTHON_VERSION" == "3.10-dev" ]; 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
|