Files
syscall_monitor/setup.sh

13 lines
315 B
Bash
Raw Normal View History

2026-06-09 13:27:51 +08:00
#!/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."