matdoering/python-proto

How we can change the source .proto file path and generated _pb2.py files path in setup.py config?

vishaldhanani opened this issue · 1 comments

Hello, I am running this python protobuf plugin in my local VS code and I have hard requirements to take source .proto files from the same repo but a different folder. I try to change the proto_interface_dir but it is throwing the below error.

warning: directory does not exist.
        Missing input file.

proto_interface_dir = "./src/interfaces/"
generated_src_dir = "./src/generated/"

Can you share how can we change the source and generated dir path in your plugin inside in the same repository?

Thank you,
Vishal

Do you have a minimal example?