Debian Codegraph @

.github/actions/pkginstall/install-pip.sh

raw symbols SCIP
1 #!/bin/bash -x
2
3 # If called without arguments, just skip the rest
4 if [[ -z "$@" ]]; then
5 exit
6 fi
7
8 FLAGS=""
9 if ls /usr/lib/python3.*/EXTERNALLY-MANAGED >/dev/null 2>&1; then
10 FLAGS="--break-system-packages"
11 fi
12
13 python -m pip install --upgrade $FLAGS pip
14 python -m pip install --upgrade $FLAGS "$@"