Compensate for no virtualenv module on Linux kokoro workers

pull/19105/head
Richard Belleville 6 years ago
parent a651957c94
commit d721b3ac1e
  1. 2
      tools/run_tests/artifacts/build_artifact_python.sh

@ -131,7 +131,7 @@ then
fi
# Ensure the generated artifacts are valid.
"${PYTHON}" -m virtualenv venv
"${PYTHON}" -m virtualenv venv || { "${PYTHON}" -m pip install virtualenv && "${PYTHON}" -m virtualenv venv; }
venv/bin/python -m pip install twine
venv/bin/python -m twine check dist/* tools/distrib/python/grpcio_tools/dist/*
rm -rf venv/

Loading…
Cancel
Save