1#!/usr/bin/env fish 2 3set basedir $PWD 4 5set -x IDF_PATH $basedir 6 7echo "Detecting the Python interpreter" 8source "$IDF_PATH"/tools/detect_python.fish 9 10echo "Installing ESP-IDF tools" 11"$ESP_PYTHON" "$IDF_PATH"/tools/idf_tools.py install 12 13echo "Installing Python environment and packages" 14"$ESP_PYTHON" "$IDF_PATH"/tools/idf_tools.py install-python-env 15 16echo "All done! You can now run:" 17echo "" 18echo " . "$basedir"/export.fish" 19echo "" 20