소스 검색

Merge pull request #448 from blindcrone/grpc_compile_script

Added a small script to compile grpc
Alex Cheema 9 달 전
부모
커밋
bfdad19d8e
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      scripts/compile_grpc.sh

+ 7 - 0
scripts/compile_grpc.sh

@@ -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
+