Skip to content

Commit

Permalink
Merge pull request #389 from radarhere/build
Browse files Browse the repository at this point in the history
Use --config-settings
  • Loading branch information
radarhere committed Jun 25, 2023
2 parents b1f01c0 + 02ae9d1 commit d5cd1c4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ function pip_wheel_cmd {
CFLAGS="$CFLAGS --std=c99" # for Raqm
fi
pip wheel $(pip_opts) \
--global-option build_ext --global-option --enable-raqm \
--global-option --vendor-raqm --global-option --vendor-fribidi \
-C raqm=enable -C raqm=vendor -C fribidi=vendor \
-w $abs_wheelhouse --no-deps .
}

Expand All @@ -141,11 +140,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" == 3.12 ]]); then
EXP_FEATURES="libjpeg_turbo transp_webp webp_anim webp_mux xcb"
else
EXP_FEATURES="fribidi harfbuzz libjpeg_turbo raqm 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
Expand Down

0 comments on commit d5cd1c4

Please sign in to comment.