]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - util/msys2_install.sh
QMK CLI and JSON keymap support (#6176)
[qmk_firmware.git] / util / msys2_install.sh
index fcb4882494f865c1d98ee49e5731f39b1fa5956a..bed176da66d83d551f28e8a709fb1238f41c3aff 100755 (executable)
@@ -5,9 +5,10 @@ download_dir=~/qmk_utils
 avrtools=avr8-gnu-toolchain
 armtools=gcc-arm-none-eabi
 installflip=false
+util_dir=$(dirname "$0")
 
 echo "Installing dependencies needed for the installation (quazip)"
-pacman --needed -S msys/unzip msys/p7zip base-devel msys/git mingw-w64-x86_64-toolchain
+pacman --needed -S base-devel mingw-w64-x86_64-toolchain msys/git msys/p7zip msys/python3 msys/unzip
 
 source "$dir/win_shared_install.sh"
 
@@ -92,6 +93,8 @@ else
 fi
 popd
 
+pip3 install -r ${util_dir}/../requirements.txt
+
 cp -f "$dir/activate_msys2.sh" "$download_dir/"
 
 if grep "^source ~/qmk_utils/activate_msys2.sh$" ~/.bashrc