kou commented on issue #15015:
URL: https://github.com/apache/arrow/issues/15015#issuecomment-1356871850
> I'm pretty sure this is a left-over from making libarrow
python-independent?
This is not related.
`$PREFIX/lib/python3.x/site-packages/pyarrow/plasma-store-server` is for users
who don't have system Apache Arrow C++. (For example, pyarrow wheel users.)
We can stop installing
`$PREFIX/lib/python3.x/site-packages/pyarrow/plasma-store-server` by the
following:
```diff
diff --git a/dev/tasks/conda-recipes/arrow-cpp/build-pyarrow.sh
b/dev/tasks/conda-recipes/arrow-cpp/build-pyarrow.sh
old mode 100644
new mode 100755
index 692ffb7806..98c0fa9181
--- a/dev/tasks/conda-recipes/arrow-cpp/build-pyarrow.sh
+++ b/dev/tasks/conda-recipes/arrow-cpp/build-pyarrow.sh
@@ -9,6 +9,7 @@ export PARQUET_HOME=$PREFIX
export SETUPTOOLS_SCM_PRETEND_VERSION=$PKG_VERSION
export PYARROW_BUILD_TYPE=release
export PYARROW_BUNDLE_ARROW_CPP_HEADERS=0
+export PYARROW_BUNDLE_PLASMA_EXECUTABLE=0
export PYARROW_WITH_DATASET=1
export PYARROW_WITH_FLIGHT=1
export PYARROW_WITH_GANDIVA=1
```
See also:
*
https://github.com/apache/arrow/blob/apache-arrow-10.0.1/python/setup.py#L202-L203
*
https://github.com/apache/arrow/blob/apache-arrow-10.0.1/python/setup.py#L495-L501
--
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]