#!/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())'"