forked from adangert/JoustMania
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup_windows.bat
22 lines (21 loc) · 1.2 KB
/
setup_windows.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
::install choco
::@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
::choco install python3 -y
::choco install git -y
::refreshenv
::choco install visualstudio2017community -y -packageParameters "--allWorkloads --includeRecommended --includeOptional --passive"
::git clone --recursive https://github.com/thp/psmoveapi.git
::choco install cmake --installargs 'ADD_CMAKE_TO_PATH=""User""' -y
::need to set path for psmove
::set path=C:\Program Files\CMake\bin;%path%
::choco install microsoft-build-tools -y
::choco install visualcpp-build-tools -y
::pip install numpy
::choco install swig -y
::choco install cmake -y
::pip install PyAudio‑0.2.11‑cp37‑cp37m‑win_amd64.whl ::needs to be downloaded
::set PATH=%PATH%;C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin
::set PATH="C:\Program Files\CMake\bin\";%PATH%
::set PYTHONPATH="C:\Users\Aaron\Documents\GitHub\JoustMania\psmoveapi\build\Release";%PYTHONPATH%
::psmoveapi/scripts/visualc/build_msvc.bat 2017
choco install docker -y