Skip to content

Apache DataFusion SQL Query Engine

ARROW-1021: [Python] Add documentation for C++ pyarrow API

Antoine Pitrou1cfa38fb1deb
diff --git a/.gitignore b/.gitignore
index c38694e1f6..f5b235a899 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,6 +21,7 @@
*.o
*.py[ocd]
*.so
+*.so.*
*.dylib
.build_cache_dir
MANIFEST
diff --git a/ci/msvc-build.bat b/ci/msvc-build.bat
index 58dfc2a146..069ddf0fc8 100644
--- a/ci/msvc-build.bat
+++ b/ci/msvc-build.bat
@@ -137,14 +137,20 @@ cmake -G "%GENERATOR%" ^
cmake --build . --target INSTALL --config %CONFIGURATION% || exit /B
popd
-@rem Build and import pyarrow
+@rem Build and install pyarrow
@rem parquet-cpp has some additional runtime dependencies that we need to figure out
@rem see PARQUET-1018
pushd python
set PYARROW_CXXFLAGS=/WX
-python setup.py build_ext --inplace --with-parquet --bundle-arrow-cpp bdist_wheel || exit /B
-py.test pyarrow -r sxX --durations=15 -v -s --parquet || exit /B
+python setup.py build_ext --with-parquet --bundle-arrow-cpp ^
+ install -q --single-version-externally-managed --record=record.text ^
+ bdist_wheel || exit /B
+
+@rem Test directly from installed location
+
+SET PYARROW_PATH=%CONDA_PREFIX%\Lib\site-packages\pyarrow
+py.test -r sxX --durations=15 -v %PYARROW_PATH% --parquet || exit /B
popd