Skip to content

Commit

Permalink
Approach 2
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou committed Dec 19, 2024
1 parent c778d11 commit ffba536
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ci/scripts/python_wheel_windows_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,11 @@ python setup.py bdist_wheel || exit /B 1
pip install delvewheel || exit /B 1
for /f %%i in ('dir dist\pyarrow-*.whl /B') do set WHEEL_NAME=dist\%%i || exit /B 1
echo "Wheel name: %WHEEL_NAME%"
for /f %%i in ('dir build\bdist* /B') do set WHEEL_BUILD_DIR=%cd%\build\%%i\wheel || exit /B 1
echo "Wheel build dir: %WHEEL_BUILD_DIR%"

delvewheel show -v --ignore-existing --include msvcp140.dll %WHEEL_NAME% || exit /B 1
delvewheel repair -v --ignore-existing --include msvcp140.dll %WHEEL_NAME% -w repaired_wheels || exit /B 1
@REM --add-path is needed for delvewheel to find arrow_python.dll and friends
delvewheel show -v --analyze-existing --add-path %WHEEL_BUILD_DIR%\pyarrow %WHEEL_NAME% || exit /B 1
delvewheel repair -v --analyze-existing -add-path %WHEEL_BUILD_DIR%\pyarrow %WHEEL_NAME% -w repaired_wheels || exit /B 1

popd

0 comments on commit ffba536

Please sign in to comment.