Closed Utosz closed 11 months ago
The question is: why do we have this +1 in index for filename? If i remove it, it works correctly and proper package is built. Should setup.cfg be set differently for my or its a bug?
Hi! Thanks for raising the issue. I believe that the +1
is there to include trailing slash. Try setting grpc_path = ./grpc
(without trailing slash). Does that fix your problem?
It's not a very elegant solution indeed. I'll try to devise something more elegant (stripping the proto_path
prefix), but in the meantime setting grpc_path
without trailing slash should be a viable workaround.
Thanks, it works!
Hi, i have question/problem. Im trying to use setuptools-grpc for bit denser proto files/folders structure.
My grpc structure looks like that and it is in root of project's directory so i have .proto files for different services and its messages in specific directories.
My setup.cfg looks like that: and when im using a tool for this config it is failing.
I debug a code and i found that
filename
created fromglob
are scalped from first character, so im getting list of files like that:this prints are from
finalize_options()
:The question is: why do we have this +1 in index for filename? If i remove it, it works correctly and proper package is built. Should setup.cfg be set differently for my or its a bug?