File: dependency_check.bat

package info (click to toggle)
azure-cli 2.81.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,328,780 kB
  • sloc: python: 1,901,859; sh: 1,341; makefile: 404; cs: 145; javascript: 74; sql: 37; xml: 21
file content (26 lines) | stat: -rw-r--r-- 684 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
pushd %~dp0..\..

Rem Upgrade pip to the latest version
python -m pip install --upgrade pip

Rem 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
pip list
pip check
if %errorlevel% neq 0 exit /b %errorlevel%
del baseline_deps.txt

Rem Install everything from our repository first.
call .\scripts\install_full.bat
if %errorlevel% neq 0 exit /b %errorlevel%

pip check
if %errorlevel% neq 0 exit /b %errorlevel%

python -m azure.cli --version
if %errorlevel% neq 0 exit /b %errorlevel%

python -m azure.cli self-test
if %errorlevel% neq 0 exit /b %errorlevel%
popd