You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by li...@apache.org on 2022/11/22 18:49:56 UTC
[arrow-adbc] branch main updated: ci: use delvewheel for Windows wheels (#193)
This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new da8d574 ci: use delvewheel for Windows wheels (#193)
da8d574 is described below
commit da8d57465043d561724b9857aada4dfc8eeb4972
Author: David Li <li...@gmail.com>
AuthorDate: Tue Nov 22 13:49:52 2022 -0500
ci: use delvewheel for Windows wheels (#193)
Fixes #99.
---
ci/scripts/python_wheel_windows_build.bat | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/ci/scripts/python_wheel_windows_build.bat b/ci/scripts/python_wheel_windows_build.bat
index 04239f4..654dbfd 100644
--- a/ci/scripts/python_wheel_windows_build.bat
+++ b/ci/scripts/python_wheel_windows_build.bat
@@ -50,15 +50,17 @@ set ADBC_POSTGRES_LIBRARY=%build_dir%\bin\adbc_driver_postgres.dll
popd
-python -m pip install --upgrade pip
+python -m pip install --upgrade pip delvewheel
FOR %%c IN (adbc_driver_manager adbc_driver_postgres) DO (
pushd %source_dir%\python\%%c
echo "=== (%PYTHON_VERSION%) Building %%c wheel ==="
- @REM bundle the MSVC runtime
- cp "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Redist\MSVC\14.16.27012\x64\Microsoft.VC141.CRT\msvcp140.dll" %%c\msvcp140.dll
python -m pip wheel -w dist -vvv . || exit /B 1
+ FOR %%w IN (dist\*.whl) DO (
+ delvewheel repair -w dist\ %%w
+ )
+
popd
)