mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Add idf-component-manager python dependency
This commit is contained in:
parent
2e0ffbd543
commit
c6f6bd6a42
3
.gitignore
vendored
3
.gitignore
vendored
@ -88,3 +88,6 @@ build
|
||||
|
||||
# lock files for examples and components
|
||||
dependencies.lock
|
||||
|
||||
# managed_components for examples
|
||||
managed_components
|
||||
|
@ -11,6 +11,7 @@ future>=0.15.2
|
||||
cryptography>=2.1.4
|
||||
pyparsing>=2.0.3,<2.4.0
|
||||
pyelftools>=0.22
|
||||
idf-component-manager>=0.2.99-beta
|
||||
|
||||
gdbgui==0.13.2.0
|
||||
# 0.13.2.1 supports Python 3.6+ only
|
||||
|
@ -717,14 +717,9 @@ endmenu\n" >> ${IDF_PATH}/Kconfig
|
||||
|
||||
print_status "Compiles with dependencies delivered by component manager"
|
||||
clean_build_dir
|
||||
# Make sure that component manager is not installed
|
||||
pip uninstall -y idf_component_manager
|
||||
printf "\n#include \"test_component.h\"\n" >> main/main.c
|
||||
printf "dependencies:\n test_component:\n path: test_component\n git: ${COMPONENT_MANAGER_TEST_REPO}\n" >> main/idf_component.yml
|
||||
! idf.py build || failure "Build should fail if dependencies are not installed"
|
||||
pip install ${COMPONENT_MANAGER_PACKAGE} --upgrade || failure "Failed to install component manager"
|
||||
idf.py reconfigure build || failure "Build didn't succeed with required components installed by package manager"
|
||||
pip uninstall -y idf_component_manager
|
||||
rm main/idf_component.yml
|
||||
git checkout main/main.c
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user