mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
setup: Install python dependencies based on idf version
This commit is contained in:
+9
-1
@@ -59,7 +59,15 @@ deactivate
|
||||
echo ""
|
||||
echo "Installing python dependencies for Matter"
|
||||
echo ""
|
||||
python3 -m pip install -r ${ESP_MATTER_PATH}/requirements.txt
|
||||
|
||||
# Install python dependencies based on idf version
|
||||
if [[ $(git -C $IDF_PATH describe) == v4.4* ]]; then
|
||||
echo "Installing requirements from requirements_idf_v4.4.txt"
|
||||
python3 -m pip install -r ${ESP_MATTER_PATH}/requirements_idf_v4.4.txt
|
||||
else
|
||||
echo "Installing requirements from requirements.txt"
|
||||
python3 -m pip install -r ${ESP_MATTER_PATH}/requirements.txt
|
||||
fi
|
||||
|
||||
echo "All done! You can now run:"
|
||||
echo ""
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
# matter idl
|
||||
lark==1.1.2
|
||||
stringcase==1.2.0
|
||||
# jinja2 is removed in IDF v5.0 environment, but it is required for matter building
|
||||
jinja2==3.0.1
|
||||
|
||||
# https://github.com/psf/requests/blob/main/HISTORY.md#2300-2023-05-03
|
||||
urllib3<2
|
||||
|
||||
# mfg_tool
|
||||
esp-matter-mfg-tool
|
||||
Reference in New Issue
Block a user