aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/python/helloworld
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2016-07-12 08:33:39 -0700
committerGravatar yang-g <yangg@google.com>2016-07-12 08:33:39 -0700
commit408ef6bf25bac1e1d45f39af4e031ac16d1699b6 (patch)
treed07e130c7cacd511230ede6a61b8bc85171c1a82 /examples/python/helloworld
parent9241c6947fa924b6d961d2e90e1a4f7293ec727e (diff)
parent2f17797c943b2b58865713b1ffd18e586d3fed02 (diff)
Merge remote-tracking branch 'upstream/master' into sequential_con
Diffstat (limited to 'examples/python/helloworld')
-rwxr-xr-xexamples/python/helloworld/run_codegen.sh2
1 files changed, 1 insertions, 1 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