Skip to content

Commit 7321fb3

Browse files
authored
Update travis_config.sh
1 parent df652a8 commit 7321fb3

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

travis_config.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ function bdist_wheel_cmd {
1919
CI_BUILD=1 python${PYTHON_VERSION} setup.py bdist_wheel --py-limited-api=cp37 -v
2020
cp dist/*.whl $abs_wheelhouse
2121
if [ -z "$IS_OSX" ]; then
22-
# this path can be changed in the latest manylinux image
23-
TOOLS_PATH=/opt/_internal/pipx/venvs/auditwheel
24-
/opt/python/cp39-cp39/bin/python -m venv $TOOLS_PATH
25-
source $TOOLS_PATH/bin/activate
26-
python patch_auditwheel_whitelist.py
27-
deactivate
22+
TOOLS_PATH="$HOME/auditwheel_venv"
23+
python -m venv "$TOOLS_PATH"
24+
source "$TOOLS_PATH/bin/activate"
25+
pip install -U pip auditwheel
26+
python patch_auditwheel_whitelist.py
27+
deactivate
2828
fi
2929
if [ -n "$USE_CCACHE" -a -z "$BREW_BOOTSTRAP_MODE" ]; then ccache -s; fi
3030
}

0 commit comments

Comments
 (0)