forked from angr/angr-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.bat
48 lines (38 loc) · 1.62 KB
/
setup.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
set TO_CHECKOUT=%1
if "%APPVEYOR%"=="True" (
pip install virtualenv
virtualenv -p C:\Python35\python.exe env
call env\scripts\activate.bat
move %APPVEYOR_BUILD_FOLDER% .
set TO_CHECKOUT=%APPVEYOR_REPO_BRANCH%
if "%APPVEYOR_PULL_REQUEST_NUMBER%"=="" (
set TO_CHECKOUT=
)
)
if not exist angr git clone https://github.com/angr/angr.git || goto :error
if not exist ailment git clone https://github.com/angr/ailment.git || goto :error
if not exist claripy git clone https://github.com/angr/claripy.git || goto :error
if not exist cle git clone https://github.com/angr/cle.git || goto :error
if not exist pyvex git clone https://github.com/angr/pyvex.git || goto :error
if not exist vex git clone https://github.com/angr/vex.git || goto :error
if not exist archinfo git clone https://github.com/angr/archinfo.git || goto :error
if not exist angr-doc git clone https://github.com/angr/angr-doc.git || goto :error
if not exist binaries git clone https://github.com/angr/binaries.git || goto :error
if not exist wheels git clone https://github.com/angr/wheels.git || goto :error
if not "%TO_CHECKOUT%" == "" (
call git_all.bat checkout %TO_CHECKOUT%
)
pip install unicorn
pip install cffi
pip install -e .\archinfo || goto :error
pip install -e .\pyvex || goto :error
pip install -e .\cle || goto :error
pip install -e .\claripy || goto :error
pip install -e .\ailment || goto :error
pip install -e .\angr || goto :error
pip install nose flaky monkeyhex ipdb || goto :error
echo "Development install success!"
exit /b 0
:error
echo "Development install failed!"
exit /b 1