2022-09-27 10:04:21 +03:00
|
|
|
powershell write-host -foregroundcolor Cyan "----- install system prerequisites -----"
|
2022-09-23 10:21:44 +03:00
|
|
|
|
2022-12-28 02:04:26 +03:00
|
|
|
# install libxml and libcurl[openssl]
|
2022-09-23 10:21:44 +03:00
|
|
|
$vcpkg_dir=(Get-command vcpkg).Source
|
2022-12-28 02:04:26 +03:00
|
|
|
if (Test-Path $vcpkg_dir\installed\x64-windows\bin\libssl-3-x64.dll) {echo "curl[openssl] already installed"} else {vcpkg install --recurse curl[openssl]:x64-windows}
|
|
|
|
if (Test-Path $vcpkg_dir\installed\x64-windows\bin\libxml2.dll) {echo "libxml2 already installed"} else {vcpkg install --recurse libxml2:x64-windows}
|
2022-09-23 10:21:44 +03:00
|
|
|
vcpkg update
|
2022-12-28 02:04:26 +03:00
|
|
|
vcpkg upgrade --no-dry-run
|
2022-09-23 10:21:44 +03:00
|
|
|
vcpkg integrate install
|
|
|
|
|
|
|
|
# update pip
|
|
|
|
python -m pip install --upgrade pip --quiet
|