testing: Use pip from venv to download dependencies
pip3 isn't installed in the base image anymore since 21bf3e41f9
("testing: Use venv for strongTNC").
This commit is contained in:
@@ -18,8 +18,8 @@ $(ZIP):
|
|||||||
@touch $@
|
@touch $@
|
||||||
|
|
||||||
.$(PKG)-deps-$(REV): .$(PKG)-unpacked-$(REV)
|
.$(PKG)-deps-$(REV): .$(PKG)-unpacked-$(REV)
|
||||||
mkdir -p $(DEPS)
|
python3 -m venv $(VENV)
|
||||||
pip3 download -d $(DEPS) -r $(DIR)/requirements.txt
|
$(VENV)/bin/pip download -d $(DEPS) -r $(DIR)/requirements.txt
|
||||||
@touch $@
|
@touch $@
|
||||||
|
|
||||||
install: .$(PKG)-deps-$(REV)
|
install: .$(PKG)-deps-$(REV)
|
||||||
|
|||||||
Reference in New Issue
Block a user