diff options
author | Masood Malekghassemi <atash@google.com> | 2016-12-12 13:19:31 -0800 |
---|---|---|
committer | Masood Malekghassemi <atash@google.com> | 2016-12-12 15:04:30 -0800 |
commit | fb261bf74803eace0b733cac934b1a4632f3cbfd (patch) | |
tree | 4b397abcd0ec0758dccb0bc7fe6f6ca5a515be00 /examples | |
parent | 4603a1c7a43347fd7139c619112de82c03f7b18a (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')
-rwxr-xr-x | examples/python/multiplex/run_codegen.py | 2 | ||||
-rw-r--r-- | examples/python/route_guide/run_codegen.py | 2 |
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( ( |