Browse Source

Install the python deps

skullY 6 năm trước cách đây
mục cha
commit
e2223dad9a
5 tập tin đã thay đổi với 9 bổ sung0 xóa
  1. 1 0
      util/freebsd_install.sh
  2. 3 0
      util/linux_install.sh
  3. 1 0
      util/macos_install.sh
  4. 2 0
      util/msys2_install.sh
  5. 2 0
      util/wsl_install.sh

+ 1 - 0
util/freebsd_install.sh

@@ -17,3 +17,4 @@ pkg install -y \
 	arm-none-eabi-newlib \
 	diffutils \
 	python3
+pip3 install -r ${util_dir}/../requirements.txt

+ 3 - 0
util/linux_install.sh

@@ -183,3 +183,6 @@ else
 	echo
 	echo "https://docs.qmk.fm/#/contributing"
 fi
+
+# Global install tasks
+pip3 install -r ${util_dir}/../requirements.txt

+ 1 - 0
util/macos_install.sh

@@ -24,3 +24,4 @@ brew tap PX4/homebrew-px4
 brew update
 brew install avr-gcc@8 gcc-arm-none-eabi dfu-programmer avrdude dfu-util python3
 brew link --force avr-gcc@8
+pip3 install -r ${util_dir}/../requirements.txt

+ 2 - 0
util/msys2_install.sh

@@ -92,6 +92,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

+ 2 - 0
util/wsl_install.sh

@@ -28,6 +28,8 @@ download_dir=wsl_downloaded
 
 source "$dir/win_shared_install.sh"
 
+pip3 install -r ${util_dir}/../requirements.txt
+
 pushd "$download_dir"
 while true; do
     echo