15 lines
354 B
Bash
Executable File
15 lines
354 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
echo "Installing system dependencies..."
|
|
sudo apt-get update -qq
|
|
sudo apt-get install -y libcap-dev python3-prctl python3-picamera2 python3-pil
|
|
|
|
echo "Configuring Poetry to use system site-packages..."
|
|
poetry config virtualenvs.options.system-site-packages true
|
|
|
|
echo "Installing Python dependencies..."
|
|
poetry install
|
|
|
|
echo "Done!"
|