Pillow/.github/workflows/macos-install.sh

20 lines
486 B
Bash
Raw Normal View History

2019-09-22 23:09:59 +03:00
#!/bin/bash
set -e
2020-06-21 10:03:15 +03:00
brew install libtiff libjpeg openjpeg libimagequant webp little-cms2 freetype openblas
2019-09-22 23:09:59 +03:00
PYTHONOPTIMIZE=0 pip install cffi
pip install coverage
pip install olefile
pip install -U pytest
pip install -U pytest-cov
pip install pyroma
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
2019-09-22 23:09:59 +03:00
pip install numpy
# extra test images
pushd depends && ./install_extra_test_images.sh && popd