1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/env bash
set -ev
REPO_ROOT="$(dirname ${BASH_SOURCE[0]})/../.."
# Upgrade pip to the latest version
python -m pip install --upgrade pip
# Uninstall any cruft that can poison the rest of the checks in this script.
pip freeze > baseline_deps.txt
pip uninstall -y -r baseline_deps.txt || true
pip list
pip check
rm baseline_deps.txt
# Install everything from our repository first.
${REPO_ROOT}/scripts/install_full.sh
pip check
python -m azure.cli --version
python -m azure.cli self-test
|