Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -968,6 +968,9 @@ foreach(module ${CYTHON_EXTENSIONS})
continue()
endif()
endif()
if(output MATCHES "\\.h$")
continue()
endif()
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${output} DESTINATION ".")
endforeach()
endforeach()
Expand Down
5 changes: 2 additions & 3 deletions python/pyarrow/tests/test_cpp_internals.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ def test_pyarrow_include():
# created. Either with PyArrow C++ header files or with
# Arrow C++ and PyArrow C++ header files together

source = os.path.dirname(os.path.abspath(__file__))
pyarrow_dir = pjoin(source, '..')
pyarrow_include = pjoin(pyarrow_dir, 'include')
import pyarrow
pyarrow_include = pyarrow.get_include()
pyarrow_cpp_include = pjoin(pyarrow_include, 'arrow', 'python')

assert os.path.exists(pyarrow_include)
Expand Down
Loading