aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/win-install-dependencies.cmd
blob: f484a7fdaf72c38f240b273ef4effc9b247ed3bd (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
@echo off
setlocal ENABLEDELAYEDEXPANSION


set PATH=%PATH%;C:\WINDOWS;C:\WINDOWS\SYSTEM32
for /D %%f in ( "C:\PYTHON*" ) do set PATH=!PATH!;%%f
for /D %%f in ( "%USERPROFILE%\AppData\Local\Programs\Python\Python*" ) do set PATH=!PATH!;%%f;%%f\Scripts


call :install pip
if ERRORLEVEL 1 exit /B 1
call :install setuptools
if ERRORLEVEL 1 exit /B 1
call :install wheel
if ERRORLEVEL 1 exit /B 1
call :install pywin32
if ERRORLEVEL 1 exit /B 1
call :install windows-curses
if ERRORLEVEL 1 exit /B 1
call :install pyreadline3
if ERRORLEVEL 1 exit /B 1
call :install pycryptodomex
if ERRORLEVEL 1 exit /B 1
call :install pyaes
if ERRORLEVEL 1 exit /B 1
call :install cffi
if ERRORLEVEL 1 exit /B 1
call :install argon2-cffi
if ERRORLEVEL 1 exit /B 1
call :install argon2pure
if ERRORLEVEL 1 exit /B 1
call :install cx_Freeze
if ERRORLEVEL 1 exit /B 1
call :install readme_renderer
if ERRORLEVEL 1 exit /B 1


echo ---
echo finished successfully
pause
exit /B 0


:install
	echo Installing %1 ...
	py -m pip install --upgrade %1
	if ERRORLEVEL 1 (
		echo FAILED to install %1
		pause
		exit /B 1
	)
	exit /B 0
bues.ch cgit interface