diff options
author | David Garcia Quintas <dgq@google.com> | 2016-07-11 22:20:42 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2016-07-11 22:20:42 -0700 |
commit | b395c9e2789de6a54bd8d24ad3a1fd3c6659c12f (patch) | |
tree | bf9f945546243accfaf5e1774332d317e15b5224 /examples/python | |
parent | 01c4d995d35958c64e65feb8193c5ce2e0845758 (diff) | |
parent | ef6b991d63f6c170a1886d66a27f8387ef7818e6 (diff) |
Merge remote-tracking branch 'origin/fix_tsan' into lr_july_16
Diffstat (limited to 'examples/python')
-rwxr-xr-x | examples/python/helloworld/run_codegen.sh | 2 | ||||
-rwxr-xr-x | examples/python/route_guide/run_codegen.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/python/helloworld/run_codegen.sh b/examples/python/helloworld/run_codegen.sh index 42b58e5021..34224e5c41 100755 --- a/examples/python/helloworld/run_codegen.sh +++ b/examples/python/helloworld/run_codegen.sh @@ -29,4 +29,4 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # Runs the protoc with gRPC plugin to generate protocol messages and gRPC stubs. -protoc -I ../../protos --python_out=. --grpc_out=. --plugin=protoc-gen-grpc=`which grpc_python_plugin` ../../protos/helloworld.proto +python -m grpc.tools.protoc -I../../protos --python_out=. --grpc_python_out=. ../../protos/helloworld.proto diff --git a/examples/python/route_guide/run_codegen.sh b/examples/python/route_guide/run_codegen.sh index d9d56c2d7a..a377a1ab40 100755 --- a/examples/python/route_guide/run_codegen.sh +++ b/examples/python/route_guide/run_codegen.sh @@ -29,4 +29,4 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # Runs the protoc with gRPC plugin to generate protocol messages and gRPC stubs. -protoc -I ../../protos --python_out=. --grpc_out=. --plugin=protoc-gen-grpc=`which grpc_python_plugin` ../../protos/route_guide.proto +python -m grpc.tools.protoc -I../../protos --python_out=. --grpc_python_out=. ../../protos/route_guide.proto |