AlenkaF commented on code in PR #14333: URL: https://github.com/apache/arrow/pull/14333#discussion_r992031604
########## 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: Would it work if I added something similar to: ".. and will no longer be automatically findable by CMake. For a subset of functionality available in PyArrow C++ API one can use C [data](https://arrow.apache.org/docs/dev/format/CDataInterface.html)/[stream](https://arrow.apache.org/docs/dev/format/CStreamInterface.html) interface as an alternative." -- 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]
