Say you have your dependent external interfaces for a service called crane under \interaces\crane folder like below
--interfaces
-----crane
------- crane.proto
------- vehicle.proto
And in crane.proto which is an external proto, you have this relative reference to vehicle proto
import crane/vehicle.proto
....
How do I use grpc_tools to generate the proto buffers for python binding correctly?
Using the below gives an error in crane.proto that vehicles.proto is not found
$(PYTHON) -m grpc_tools.protoc -I ./interfaces/crane --python_out=./my_proj/generated -- \
grpc_python_out=./my_proj/generated crane.proto