From 5bd4446e594e6ee03832192d50de4eaa5d84f706 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Thu, 19 Dec 2024 21:06:35 +0100 Subject: [PATCH] Desperate to fix shell interpolation --- ci/scripts/python_wheel_windows_build.bat | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ci/scripts/python_wheel_windows_build.bat b/ci/scripts/python_wheel_windows_build.bat index 8b357b50a414d..98c6951dd08f7 100644 --- a/ci/scripts/python_wheel_windows_build.bat +++ b/ci/scripts/python_wheel_windows_build.bat @@ -134,11 +134,13 @@ python setup.py bdist_wheel || exit /B 1 @REM Repair the wheel with delvewheel pip install delvewheel || exit /B 1 -for /f %%i in ('dir dist\pyarrow-*.whl /B') do set WHEEL_NAME="%cd%\dist\%%i" || exit /B 1 +for /f %%i in ('dir dist\pyarrow-*.whl /B') do (set WHEEL_NAME=%cd%\dist\%%i) || exit /B 1 echo "Wheel name: %WHEEL_NAME%" -for /f %%i in ('dir build\lib* /B') do set WHEEL_BUILD_DIR="%cd%\build\%%i" || exit /B 1 +for /f %%i in ('dir build\lib* /B') do (set WHEEL_BUILD_DIR=%cd%\build\%%i) || exit /B 1 echo "Wheel build dir: %WHEEL_BUILD_DIR%" +dir "%WHEEL_BUILD_DIR%\pyarrow" + delvewheel show -vv --add-path "%WHEEL_BUILD_DIR%\pyarrow";C:\Windows\System32 %WHEEL_NAME% || exit /B 1 delvewheel repair -vv --add-path "%WHEEL_BUILD_DIR%\pyarrow";C:\Windows\System32 %WHEEL_NAME% -w repaired_wheels || exit /B 1