From 5713c06c49c7691d1f4904d9a150404d8a1571b3 Mon Sep 17 00:00:00 2001 From: ghubstan <36207203+ghubstan@users.noreply.github.com> Date: Wed, 16 Mar 2022 17:39:18 -0300 Subject: [PATCH] Fix protoc param paths --- python-examples/generate-python-protos.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-examples/generate-python-protos.sh b/python-examples/generate-python-protos.sh index 5a9c0e4..c069f2f 100755 --- a/python-examples/generate-python-protos.sh +++ b/python-examples/generate-python-protos.sh @@ -10,7 +10,11 @@ # python -m pip install grpcio grpcio-tools # pip3 install mypy-protobuf -source "env.sh" +# Relative path to directory containing the Bisq .proto files (the protoc compiler input). +export PROTO_PATH="proto" + +# The destination directory for the generated Python code (he protoc compiler output). +export PYTHON_PROTO_OUT_PATH="bisq/api" python3 -m grpc_tools.protoc \ --proto_path=$PROTO_PATH \