mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-14 19:36:38 +03:00
Install fribidi on manylinux
This commit is contained in:
parent
66eef8a3db
commit
3ec765d2a4
|
@ -147,12 +147,7 @@ function run_tests_in_repo {
|
|||
|
||||
EXP_CODECS="jpg jpg_2000 libtiff zlib"
|
||||
EXP_MODULES="freetype2 littlecms2 pil tkinter webp"
|
||||
if ([ -n "$IS_MACOS" ] || [[ "$MB_PYTHON_VERSION" != pypy3* ]]) && [[ "$MACHTYPE" != aarch64* ]]; then
|
||||
EXP_FEATURES="fribidi harfbuzz libjpeg_turbo raqm transp_webp webp_anim webp_mux xcb"
|
||||
else
|
||||
# can't find FriBiDi
|
||||
EXP_FEATURES="libjpeg_turbo transp_webp webp_anim webp_mux xcb"
|
||||
fi
|
||||
EXP_FEATURES="fribidi harfbuzz libjpeg_turbo raqm transp_webp webp_anim webp_mux xcb"
|
||||
|
||||
function run_tests {
|
||||
if [ -n "$IS_MACOS" ]; then
|
||||
|
@ -163,6 +158,8 @@ function run_tests {
|
|||
ln -s /usr/local/lib/libfribidi.dylib libfribidi.dylib
|
||||
elif [ -n "$IS_ALPINE" ]; then
|
||||
apk add fribidi
|
||||
else
|
||||
apt-get install libfribidi0
|
||||
fi
|
||||
if [[ "$MB_PYTHON_VERSION" == pypy3.* || "$MB_PYTHON_VERSION" == 3.10 ]] && [[ $(uname -m) == "i686" ]]; then
|
||||
python3 -m pip install numpy==1.21.4
|
||||
|
|
Loading…
Reference in New Issue
Block a user