Skip to content

Commit

Permalink
Try to fix delvewheel step again
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou committed Dec 19, 2024
1 parent 0e5010a commit aa7be65
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ci/scripts/python_wheel_windows_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,10 @@ 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=dist\%%i || exit /B 1
for /f %%i in ('dir dist\pyarrow-*.whl /B') do set WHEEL_NAME=dist\%%~fi || exit /B 1
echo "Wheel name: %WHEEL_NAME%"
for /f %%i in ('dir build\lib* /B') do set WHEEL_BUILD_DIR=build\%%i || exit /B 1
for /f %%i in ('dir build\lib* /B') do set WHEEL_BUILD_DIR=build\%%~fi || exit /B 1
echo "Wheel build dir: %WHEEL_BUILD_DIR%"
dir %WHEEL_BUILD_DIR% || exit /B 1

delvewheel show -vv --add-path %WHEEL_BUILD_DIR%\pyarrow %WHEEL_NAME% || exit /B 1
delvewheel repair -vv --add-path %WHEEL_BUILD_DIR%\pyarrow %WHEEL_NAME% -w repaired_wheels || exit /B 1
Expand Down

0 comments on commit aa7be65

Please sign in to comment.