Skip to content

Commit 90740d4

Browse files
committed
add internal pyarrow.libs to library_dirs
1 parent e9b454f commit 90740d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ci/scripts/python_build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ pushd %SOURCE_DIR%\python
136136

137137
@REM Build PyArrow
138138
%PYTHON_CMD% -m build --wheel . --no-isolation || exit /B 1
139-
%PYTHON_CMD% -m delvewheel repair --ignore-existing --no-mangle-all dist\* || exit /B 1
139+
%PYTHON_CMD% -m delvewheel repair --ignore-existing --no-mangle-all --include-imports dist\* || exit /B 1
140140
%PYTHON_CMD% -m pip install --no-index --find-links .\wheelhouse\ pyarrow || exit /B 1
141141

142142
popd

python/pyarrow/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ def get_library_dirs():
404404
linking C or Cython extensions using pyarrow
405405
"""
406406
package_cwd = _os.path.dirname(__file__)
407-
library_dirs = [package_cwd]
407+
library_dirs = [package_cwd, _os.path.join(os.path.dirname(package_cwd), "pyarrow.libs")]
408408

409409
def append_library_dir(library_dir):
410410
if library_dir not in library_dirs:

0 commit comments

Comments
 (0)