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

Function get_include

python/pyarrow/__init__.py:313–322  ·  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

311
312
313def get_include():
314 """
315 Return absolute path to directory containing Arrow C++ include
316 headers. Similar to numpy.get_include
317 """
318 # Use pyarrow.lib location instead of just __file__. That works
319 # for both editable and non-editable builds as it points
320 # to the actual location of the compiled C++ extension.
321 from pyarrow import lib as _lib
322 return _os.path.join(_os.path.dirname(_lib.__file__), 'include')
323
324
325def _get_pkg_config_executable():

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected