aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/python
diff options
context:
space:
mode:
authorGravatar Masood Malekghassemi <atash@google.com>2016-12-12 13:19:31 -0800
committerGravatar Masood Malekghassemi <atash@google.com>2016-12-12 15:04:30 -0800
commitfb261bf74803eace0b733cac934b1a4632f3cbfd (patch)
tree4b397abcd0ec0758dccb0bc7fe6f6ca5a515be00 /examples/python
parent4603a1c7a43347fd7139c619112de82c03f7b18a (diff)
Un-namespace Python packages
Setuptools was updated and our hacky namespace-package-chickens came back to roost. This removes the unsupported namespace package hacks.
Diffstat (limited to 'examples/python')
-rwxr-xr-xexamples/python/multiplex/run_codegen.py2
-rw-r--r--examples/python/route_guide/run_codegen.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/python/multiplex/run_codegen.py b/examples/python/multiplex/run_codegen.py
index 7922a0f5c7..89ac9c8fae 100755
--- a/examples/python/multiplex/run_codegen.py
+++ b/examples/python/multiplex/run_codegen.py
@@ -29,7 +29,7 @@
"""Generates protocol messages and gRPC stubs."""
-from grpc.tools import protoc
+from grpc_tools import protoc
protoc.main(
(
diff --git a/examples/python/route_guide/run_codegen.py b/examples/python/route_guide/run_codegen.py
index c7c6008580..3751e019c9 100644
--- a/examples/python/route_guide/run_codegen.py
+++ b/examples/python/route_guide/run_codegen.py
@@ -29,7 +29,7 @@
"""Runs protoc with the gRPC plugin to generate messages and gRPC stubs."""
-from grpc.tools import protoc
+from grpc_tools import protoc
protoc.main(
(