Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit 02ae9d1

Browse files
committed
Use --config-settings
1 parent b1f01c0 commit 02ae9d1

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

config.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ function pip_wheel_cmd {
128128
CFLAGS="$CFLAGS --std=c99" # for Raqm
129129
fi
130130
pip wheel $(pip_opts) \
131-
--global-option build_ext --global-option --enable-raqm \
132-
--global-option --vendor-raqm --global-option --vendor-fribidi \
131+
-C raqm=enable -C raqm=vendor -C fribidi=vendor \
133132
-w $abs_wheelhouse --no-deps .
134133
}
135134

@@ -141,11 +140,7 @@ function run_tests_in_repo {
141140

142141
EXP_CODECS="jpg jpg_2000 libtiff zlib"
143142
EXP_MODULES="freetype2 littlecms2 pil tkinter webp"
144-
if ([ -n "$IS_MACOS" ] && [[ "$MB_PYTHON_VERSION" == 3.12 ]]); then
145-
EXP_FEATURES="libjpeg_turbo transp_webp webp_anim webp_mux xcb"
146-
else
147-
EXP_FEATURES="fribidi harfbuzz libjpeg_turbo raqm transp_webp webp_anim webp_mux xcb"
148-
fi
143+
EXP_FEATURES="fribidi harfbuzz libjpeg_turbo raqm transp_webp webp_anim webp_mux xcb"
149144

150145
function run_tests {
151146
if [ -n "$IS_MACOS" ]; then

0 commit comments

Comments
 (0)