Files
random_tools/@sideCards/tools/setup.sh
T
2026-08-11 09:53:42 -04:00

10 lines
368 B
Bash
Executable File

#!/bin/sh
# Build the venv and generate gRPC stubs from the vendored proto.
set -e
cd "$(dirname "$0")"
python3 -m venv .venv
./.venv/bin/pip install -q -r requirements.txt
./.venv/bin/python -m grpc_tools.protoc -Iproto \
--python_out=. --grpc_python_out=. proto/imageService.proto
echo "ready: ./.venv/bin/python -c 'import dt_client; print(dt_client.connect())'"