pitrou commented on code in PR #14333: URL: https://github.com/apache/arrow/pull/14333#discussion_r992039428
########## docs/source/python/integration/extending.rst: ########## @@ -50,12 +50,23 @@ This will not include other parts of the Arrow API, which you will need to include yourself (for example ``arrow/api.h``). When building C extensions that use the Arrow C++ libraries, you must add -appropriate linker flags. We have provided functions ``pyarrow.get_libraries`` -and ``pyarrow.get_library_dirs`` which return a list of library names and +appropriate linker flags. We have provided functions ``pa.get_libraries`` +and ``pa.get_library_dirs`` which return a list of library names and likely library install locations (if you installed pyarrow with pip or conda). These must be included when declaring your C extensions with setuptools (see below). +.. note:: + + The PyArrow-specific C++ code is now a part of the PyArrow source tree + and not Arrow C++. That means the header files and arrow_python library + are not necessarily installed in the same location as that of Arrow. Review Comment: IMHO there is not point in advertising the C Data Interface as an alternative, since the PyArrow C++ API is still there. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
