aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler/python_plugin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/python_plugin.cc')
-rw-r--r--src/compiler/python_plugin.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/python_plugin.cc b/src/compiler/python_plugin.cc
index 92a07b2f80..fc76ee5ec6 100644
--- a/src/compiler/python_plugin.cc
+++ b/src/compiler/python_plugin.cc
@@ -38,6 +38,7 @@
int main(int argc, char* argv[]) {
grpc_python_generator::GeneratorConfiguration config;
+ config.grpc_package_root = "grpc";
config.beta_package_root = "grpc.beta";
grpc_python_generator::PythonGrpcGenerator generator(config);
return grpc::protobuf::compiler::PluginMain(argc, argv, &generator);