| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | # |
| 3 | # Creates a Python virtual environment in /usr/local/python and installs |
| 4 | # the modules from requirements.txt in it. These modules are required |
| 5 | # by various jobs in the CI pipeline. |
| 6 | # |
| 7 | # IMPORTANT: See |
| 8 | # https://gnome.pages.gitlab.gnome.org/librsvg/devel-docs/ci.html#container-image-version |
| 9 | |
| 10 | set -eux -o pipefail |
| 11 | |
| 12 | python3scip-shell system . . python3. -m venv /usr/local/pythonscip-shell filesystem . . `/usr/local/python`. |
| 13 | source /usr/local/python/bin/activatescip-shell source . . `/usr/local/python/bin/activate`. |
| 14 | pip3scip-shell system . . pip3. install --upgrade pip |
| 15 | pip3scip-shell system . . pip3. install -r ci/requirements.txt |