Skip to content

Commit 6f841bb

Browse files
authored
fix: build-indicators.sh looks for setup.py and pyproject.toml (#2048)
* fix: build-indicators.sh looks for setup.py again Reverting a premature change. * fix: readability and future-proof * fix: more readability
1 parent 86399ad commit 6f841bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jenkins/build-indicator.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ source env/bin/activate
1717
pip install pip==23.0.1 --retries 10 --timeout 20
1818
pip install numpy --retries 10 --timeout 20
1919
pip install ../_delphi_utils_python/. --retries 10 --timeout 20
20-
[ ! -f pyproject.toml ] || pip install . --retries 10 --timeout 20
20+
if [ -f setup.py ] || [ -f pyproject.toml ]; then
21+
pip install . --retries 10 --timeout 20
22+
fi

0 commit comments

Comments
 (0)