Return absolute path to directory containing Arrow C++ include headers. Similar to numpy.get_include
()
| 301 | |
| 302 | |
| 303 | def 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 | |
| 315 | def _get_pkg_config_executable(): |