Skip to content

Commit 8621b87

Browse files
committed
Add error_exit calls for optional deps.
1 parent 2d4cc76 commit 8621b87

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

circle/setup.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
2929
then
3030
pip install simplejson ordereddict ||
3131
error_exit "${LINENO}: can't install extras for Python ${version}"
32-
pip install -r ${PLOTLY_OPTIONAL_REQUIREMENTS_FILE_2_6}
32+
pip install -r ${PLOTLY_OPTIONAL_REQUIREMENTS_FILE_2_6} ||
33+
error_exit "${LINENO}: can't install optional for Python ${version}"
3334
else
34-
pip install -r ${PLOTLY_OPTIONAL_REQUIREMENTS_FILE}
35+
pip install -r ${PLOTLY_OPTIONAL_REQUIREMENTS_FILE} ||
36+
error_exit "${LINENO}: can't install optional for Python ${version}"
3537
fi
3638

3739
# install some test tools

0 commit comments

Comments
 (0)