Skip to content

Commit dcf3f3d

Browse files
committed
Install virtualenv
1 parent d7e7973 commit dcf3f3d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ fi
2020
echo "::group::Install a virtualenv"
2121
source multibuild/common_utils.sh
2222
source multibuild/travis_steps.sh
23+
$PYTHON_EXE -m pip install virtualenv
2324
before_install
2425
echo "::endgroup::"
2526

2627
echo "::group::Build wheel"
2728
export WHEEL_SDIR=wheelhouse
28-
pip install tomlkit
29-
export BUILD_DEPENDS=$(python ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR})
29+
$PIP_CMD install tomlkit
30+
export BUILD_DEPENDS=$($PYTHON_EXE ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR})
3031
clean_code
3132
build_wheel
3233
ls -l "${GITHUB_WORKSPACE}/${WHEEL_SDIR}/"
@@ -35,7 +36,7 @@ echo "::endgroup::"
3536
if [[ $PLAT != "arm64" ]]; then
3637
# arm will not install on Github Workflows x86 architecture.
3738
echo "::group::Test wheel"
38-
export TEST_DEPENDS=$(python ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR} -p test)
39+
export TEST_DEPENDS=$($PYTHON_EXE ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR} -p test)
3940
install_run
4041
echo "::endgroup::"
4142
fi

0 commit comments

Comments
 (0)