mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 12:17:14 +03:00
20 lines
486 B
Bash
Executable File
20 lines
486 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
brew install libtiff libjpeg openjpeg libimagequant webp little-cms2 freetype openblas
|
|
|
|
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
|
|
|
|
echo -e "[openblas]\nlibraries = openblas\nlibrary_dirs = /usr/local/opt/openblas/lib" >> ~/.numpy-site.cfg
|
|
pip install numpy
|
|
|
|
# extra test images
|
|
pushd depends && ./install_extra_test_images.sh && popd
|