diff options
author | Charlie Boutier <charliebout@google.com> | 2022-03-22 15:12:50 +0000 |
---|---|---|
committer | Charlie Boutier <charliebout@google.com> | 2022-03-22 16:13:41 +0000 |
commit | 11a318b092a9826d3aab528cd41533ce10afe216 (patch) | |
tree | c49cc28626b72f5d21a75a21fe486ff1c3638c68 | |
parent | 3cadac0953fb0a21c6546368daf9dd47c54855f1 (diff) | |
download | mmi2grpc-11a318b092a9826d3aab528cd41533ce10afe216.tar.gz |
setup: Add all proto file located into proto/blueberry
Change-Id: I3298139c99349407a2efdd9d18921fb09e76b4e4
-rwxr-xr-x | setup.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -25,15 +25,14 @@ class BuildGrpc(Command): proto_include = pkg_resources.resource_filename('grpc_tools', '_proto') + files = [f'blueberry/{f}' for f in os.listdir('proto/blueberry') if f.endswith('.proto')] protoc.main([ 'grpc_tools.protoc', '-Iproto', f'-I{proto_include}', '--python_out=.', '--custom_grpc_out=.', - 'blueberry/host.proto', - 'blueberry/a2dp.proto' - ]) + ] + files) class BuildPyCommand(build_py): |