Skip to content

Instantly share code, notes, and snippets.

@xhochy
Created February 13, 2017 17:25
Show Gist options
  • Save xhochy/d3073f3d8c763013fe4bcb5b5fc9bb2a to your computer and use it in GitHub Desktop.
Save xhochy/d3073f3d8c763013fe4bcb5b5fc9bb2a to your computer and use it in GitHub Desktop.
#!/bin/bash
cd python/manylinux1
tar xf .../apache-arrow-0.2.0.tar.gz
mv apache-arrow-0.2.0 arrow
docker build -t arrow-base-x86_64 -f Dockerfile-x86_64 .
docker build -t parquet_arrow-base-x86_64 -f Dockerfile-parquet_arrow-base-x86_64 .
docker run --rm -v $PWD:/io parquet_arrow-base-x86_64 /io/build_arrow.sh
virtualenv venv
source ./venv/bin/activate
pip install dist/pyarrow-0.2.0-cp27-cp27mu-manylinux1_x86_64.whl
pip install pandas pytest
py.test venv/lib/python2.7/site-packages/pyarrow/tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment