Skip to content

Commit

Permalink
[Tools] Update for updtset.cmd (#2270)
Browse files Browse the repository at this point in the history
* Update updtset.cmd

- added link to the docs in repo
- added key (-k) that skips ssl check for curl

* fix for pip upgrade command
  • Loading branch information
vetall812 committed Jan 5, 2024
1 parent 2051afc commit 6de67bc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tools/updtset.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ if errorlevel 1 (
if /i [!verbose!] EQU [YES] (echo - %APP% found.)
%APP% --version

pip install --upgrade pip --no-color 1>nul
%APP% -m pip install --upgrade pip --no-color 1>nul

pip show pyvips --no-color 1>nul
if errorlevel 1 (
Expand Down Expand Up @@ -226,10 +226,12 @@ where /q %LIBVIPS_PATH%\bin:vips.exe
if errorlevel 1 (
echo ERROR^^^! No 'libvips' library found. Please refer installation manual:
echo https://libvips.github.io/libvips/install.html
echo If you are sure that library was installed - please check library version and 'path' environment variable.
echo Please also read this documentation:
echo https://i-am-erk.github.io/CDDA-Tilesets/installation_windows.html#python-and-components
echo If you are sure that library was installed - please check library version and 'LIBVIPS_PATH' environment variable.
echo Script will try to download libvips 8.15 into your home directory, try to run this script again after this.
echo.
curl https://github.com/libvips/build-win64-mxe/releases/download/v8.15.0/vips-dev-w64-web-8.15.0.zip -L -o %HOMEDRIVE%%HOMEPATH%\vips-dev-w64-web-8.15.0.zip
curl https://github.com/libvips/build-win64-mxe/releases/download/v8.15.0/vips-dev-w64-web-8.15.0.zip -L -o %HOMEDRIVE%%HOMEPATH%\vips-dev-w64-web-8.15.0.zip -k

call :UnZipFile "%HOMEDRIVE%%HOMEPATH%\vips" "%HOMEDRIVE%%HOMEPATH%\vips-dev-w64-web-8.15.0.zip"
call set_vips_path.cmd %HOMEDRIVE%%HOMEPATH%\vips\vips-dev-8.15\
Expand Down

0 comments on commit 6de67bc

Please sign in to comment.