Fail if pip deps fail to install

pull/1374/head
Piero Toffanin 2021-11-17 11:20:34 -05:00
rodzic 7fa98c5668
commit 998a7cb016
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -127,11 +127,12 @@ installreqs() {
echo "Installing OpenMVS Dependencies"
installdepsfromsnapcraft build openmvs
set -e
pip install --ignore-installed -r requirements.txt
if [ ! -z "$GPU_INSTALL" ]; then
pip install --ignore-installed -r requirements.gpu.txt
fi
set +e
}
install() {