win-install-dependencies.cmd 1007 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. @echo off
  2. setlocal ENABLEDELAYEDEXPANSION
  3. set PATH=%PATH%;C:\WINDOWS;C:\WINDOWS\SYSTEM32
  4. for /D %%f in ( "C:\PYTHON*" ) do set PATH=!PATH!;%%f
  5. for /D %%f in ( "%USERPROFILE%\AppData\Local\Programs\Python\Python*" ) do set PATH=!PATH!;%%f;%%f\Scripts
  6. call :install wheel
  7. if ERRORLEVEL 1 exit /B 1
  8. call :install pywin32
  9. if ERRORLEVEL 1 exit /B 1
  10. call :install windows-curses
  11. if ERRORLEVEL 1 exit /B 1
  12. call :install pyreadline3
  13. if ERRORLEVEL 1 exit /B 1
  14. call :install pycryptodomex
  15. if ERRORLEVEL 1 exit /B 1
  16. call :install pyaes
  17. if ERRORLEVEL 1 exit /B 1
  18. call :install argon2-cffi
  19. if ERRORLEVEL 1 exit /B 1
  20. call :install argon2pure
  21. if ERRORLEVEL 1 exit /B 1
  22. call :install cx_Freeze
  23. if ERRORLEVEL 1 exit /B 1
  24. call :install readme_renderer
  25. if ERRORLEVEL 1 exit /B 1
  26. echo ---
  27. echo finished successfully
  28. pause
  29. exit /B 0
  30. :install
  31. echo Installing %1 ...
  32. pip3 install --upgrade %1
  33. if ERRORLEVEL 1 (
  34. echo FAILED to install %1
  35. pause
  36. exit /B 1
  37. )
  38. exit /B 0