Added a small script to compile grpc

This commit is contained in:
Nel Nibcord
2024-11-12 21:28:39 -08:00
parent 11c5e9e1af
commit 9712d696a9

7
scripts/compile_grpc.sh Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
source ./install.sh
pushd exo/networking/grpc
python3.12 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. node_service.proto
sed -i "s/import node_service_pb2/from . &/" node_service_pb2_grpc.py
popd