mirror of
https://github.com/exo-explore/exo.git
synced 2025-10-23 02:57:14 +03:00
Added a small script to compile grpc
This commit is contained in:
7
scripts/compile_grpc.sh
Normal file
7
scripts/compile_grpc.sh
Normal 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
|
||||||
|
|
||||||
Reference in New Issue
Block a user