Skip to content

Commit

Permalink
Use python setup.py build_ext --inplace instead of setup.py develop o…
Browse files Browse the repository at this point in the history
…n python minimal examples to use newer PEPs functionality
  • Loading branch information
raulcd committed May 28, 2024
1 parent 9d52e62 commit 73cd369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions python/examples/minimal_build/build_conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@ export CMAKE_PREFIX_PATH=${ARROW_HOME}${CMAKE_PREFIX_PATH:+:${CMAKE_PREFIX_PATH}
export PYARROW_BUILD_TYPE=Debug
export PYARROW_CMAKE_GENERATOR=Ninja

# You can run either "develop" or "build_ext --inplace". Your pick

# python setup.py build_ext --inplace
python setup.py develop
python setup.py build_ext --inplace

py.test pyarrow
5 changes: 1 addition & 4 deletions python/examples/minimal_build/build_venv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,7 @@ export CMAKE_PREFIX_PATH=${ARROW_HOME}${CMAKE_PREFIX_PATH:+:${CMAKE_PREFIX_PATH}
export PYARROW_BUILD_TYPE=Debug
export PYARROW_CMAKE_GENERATOR=Ninja

# You can run either "develop" or "build_ext --inplace". Your pick

# python setup.py build_ext --inplace
python setup.py develop
python setup.py build_ext --inplace

pip install -r $ARROW_ROOT/python/requirements-test.txt

Expand Down

0 comments on commit 73cd369

Please sign in to comment.