Debian Codegraph @

ci/env.sh

raw
1 # Activate the Python virtual environment for CI scripts.
2 #
3 # We test for the presence of the file, since when first creating the container images for CI,
4 # the venv has not been created yet. This is mostly a hack to allow having a single "env.sh"
5 # script instead of one for container creation and one for CI jobs.
6 if [ -f /usr/local/python/bin/activate ]; then
7 source /usr/local/python/bin/activate
8 fi