From 8cca41aaee6ff1429f0c2d80f8e730266601e60b Mon Sep 17 00:00:00 2001 From: Wes McKinney Date: Wed, 9 Mar 2016 12:03:21 -0800 Subject: [PATCH] Fix Travis CI script for renamed package --- ci/travis_script_python.sh | 2 +- python/doc/INSTALL.md | 23 ++++++++++++++++++++--- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/ci/travis_script_python.sh b/ci/travis_script_python.sh index 9b0bd4f54cbc9..14d66b44ff8ee 100755 --- a/ci/travis_script_python.sh +++ b/ci/travis_script_python.sh @@ -48,7 +48,7 @@ export ARROW_HOME=$ARROW_CPP_INSTALL python setup.py build_ext --inplace -py.test -vv -r sxX arrow +py.test -vv -r sxX pyarrow # if [ $TRAVIS_OS_NAME == "linux" ]; then # valgrind --tool=memcheck py.test -vv -r sxX arrow diff --git a/python/doc/INSTALL.md b/python/doc/INSTALL.md index bfc639f8aec38..1c23726e62902 100644 --- a/python/doc/INSTALL.md +++ b/python/doc/INSTALL.md @@ -1,4 +1,4 @@ -## Installing pyarrow (Apache Arrow Python library) +## Building pyarrow (Apache Arrow Python library) First, clone the master git repository: @@ -59,12 +59,29 @@ make make install ``` -#### Build and install `pyarrow` library +#### Build the `pyarrow` library ```bash cd arrow/python -python setup.py install +python setup.py build_ext --inplace +``` + +This library is not set up to install yet (see for example, +https://issues.apache.org/jira/browse/ARROW-53) until some issues are sorted +out, but you can try out the library by importing from this directory: + +```python +In [1]: import pyarrow + +In [2]: pyarrow.from_pylist([1,2,3]) +Out[2]: + +[ + 1, + 2, + 3 +] ``` #### Mac OS X-specific stuff