Files
syscall_monitor/setup.sh
MarceloZoeng 66879f7db8
Some checks failed
CI / lint-and-build (push) Failing after 1m30s
init project+ci/cd
2026-06-09 13:27:51 +08:00

13 lines
315 B
Bash

#!/usr/bin/env bash
# Create venv with system-site-packages (so bcc from apt is visible) and install Python deps.
set -e
cd "$(dirname "$0")"
if [ ! -d .venv ]; then
python3 -m venv --system-site-packages .venv
fi
.venv/bin/pip install --upgrade pip
.venv/bin/pip install -r requirements.txt
echo "setup done."