compile_grpc.sh 233 B

1234567
  1. #!/usr/bin/env bash
  2. source ./install.sh
  3. pushd exo/networking/grpc
  4. python3 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. node_service.proto
  5. sed -i '' "s/import\ node_service_pb2/from . &/" node_service_pb2_grpc.py
  6. popd