forked from vapoursynth/vapoursynth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_deps.bat
57 lines (43 loc) · 1.38 KB
/
install_deps.bat
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
53
54
55
56
57
@echo off
IF NOT EXIST AviSynthPlus (
git clone https://github.com/AviSynth/AviSynthPlus
) ELSE (
echo AviSynthPlus: & pushd AviSynthPlus & git pull & popd
)
IF NOT EXIST libp2p (
git clone https://bitbucket.org/the-sekrit-twc/libp2p.git
) ELSE (
echo libp2p: & pushd libp2p & git pull &popd
)
IF NOT EXIST vsrepo (
git clone https://github.com/vapoursynth/vsrepo
) ELSE (
echo vsrepo: & pushd vsrepo & git pull &popd
)
IF NOT EXIST zimg (
git clone https://bitbucket.org/the-sekrit-twc/zimg.git --shallow-submodules --recurse-submodules
) ELSE (
echo zimg: & pushd zimg & git pull & popd
)
py -3.12 -m ensurepip
py -3.12 -m pip install --upgrade -r python-requirements.txt
py -3.8 -m ensurepip
py -3.8 -m pip install --upgrade -r python-requirements.txt
SET ZFOLDER=%ProgramFiles%\7-Zip
IF EXIST "%ZFOLDER%\7z.exe" GOTO copym
SET ZFOLDER=C:\Program Files\7-Zip
IF EXIST "%ZFOLDER%\7z.exe" GOTO copym
SET ZFOLDER=%ProgramFiles(x86)%\7-Zip
IF EXIST "%ZFOLDER%\7z.exe" GOTO copym
SET ZFOLDER=C:\Program Files (x86)\7-Zip
IF EXIST "%ZFOLDER%\7z.exe" GOTO copym
GOTO end
:copym
copy "%ZFOLDER%\7z.exe" installer
copy "%ZFOLDER%\7z.dll" installer
GOTO end
ECHO 7-zip not installed!
:end
IF NOT EXIST installer/pfm-192-vapoursynth-win.exe (
ECHO You need to grab pfm-192-vapoursynth-win.exe from a portable release!
)