OLD | NEW |
1 # Copyright 2016 The LUCI Authors. All rights reserved. | 1 # Copyright 2016 The LUCI Authors. All rights reserved. |
2 # Use of this source code is governed under the Apache License, Version 2.0 | 2 # Use of this source code is governed under the Apache License, Version 2.0 |
3 # that can be found in the LICENSE file. | 3 # that can be found in the LICENSE file. |
4 | 4 |
5 # Creates the python bindings to the proto file. The grpcio and grpcio_tools | 5 # Creates the python bindings to the proto file. The grpcio and grpcio_tools |
6 # Python packages must be installed, or else you'll get an error. I recommend | 6 # Python packages must be installed, or else you'll get an error. I recommend |
7 # using virtualenv to do this. | 7 # using virtualenv to do this. |
8 # | 8 # |
9 # Call this script every time you modify the .proto file and check in the | 9 # Call this script every time you modify the .proto file and check in the |
10 # resulting *_pb2.py files as well. | 10 # resulting *_pb2.py files as well. |
11 python -m grpc.tools.protoc \ | 11 python -m grpc.tools.protoc \ |
12 --python_out=. \ | 12 --python_out=. \ |
13 --grpc_python_out=. \ | 13 --grpc_python_out=. \ |
14 isolate_bot.proto \ | 14 bytestream.proto \ |
15 -I. | 15 -I. |
OLD | NEW |