Skip to content

Commit

Permalink
Use "call conda.bat activate/deactivate"
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Dec 6, 2019
1 parent 1c8427e commit 2ef6213
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev/tasks/python-wheels/win-build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ conda create -n wheel-build -q -y -c conda-forge ^
numpy=%NUMPY_VERSION% ^
|| exit /B

conda activate wheel-build
call conda.bat activate wheel-build

@rem Cannot use conda_env_python.yml here because conda-forge has
@rem ceased providing up-to-date packages for Python 3.5
Expand Down Expand Up @@ -84,7 +84,7 @@ pushd %ARROW_SRC%\python
python setup.py bdist_wheel || exit /B
popd

conda deactivate
call conda.bat deactivate

set ARROW_TEST_DATA=%ARROW_SRC%\testing\data

Expand All @@ -94,7 +94,7 @@ conda create -n wheel-test -c conda-forge -q -y ^
--file %ARROW_SRC%\ci\conda_env_python.yml ^
python=%PYTHON_VERSION% ^
numpy=%NUMPY_VERSION% || exit /B
conda activate wheel-test
call conda.bat activate wheel-test

@rem install the built wheel
pip install -vv --no-index --find-links=%ARROW_SRC%\python\dist\ pyarrow || exit /B
Expand Down

0 comments on commit 2ef6213

Please sign in to comment.