MCPcopy Create free account
hub / github.com/apache/arrow / get_include

Function get_include

python/pyarrow/__init__.py:303–312  ·  view source on GitHub ↗

Return absolute path to directory containing Arrow C++ include headers. Similar to numpy.get_include

()

Source from the content-addressed store, hash-verified

301
302
303def get_include():
304 """
305 Return absolute path to directory containing Arrow C++ include
306 headers. Similar to numpy.get_include
307 """
308 # Use pyarrow.lib location instead of just __file__. That works
309 # for both editable and non-editable builds as it points
310 # to the actual location of the compiled C++ extension.
311 from pyarrow import lib as _lib
312 return _os.path.join(_os.path.dirname(_lib.__file__), 'include')
313
314
315def _get_pkg_config_executable():

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected