From c0d840c89da316493f804ceb8d98fc8cedcec675 Mon Sep 17 00:00:00 2001 From: shoulinwei Date: Mon, 22 Mar 2021 22:30:32 +0800 Subject: [PATCH] upt --- README.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/README.md b/README.md index 26d6195..475357e 100644 --- a/README.md +++ b/README.md @@ -11,14 +11,3 @@ This library can be installed with the following command: ```bash python setup.py install ``` - -# 安装 python 下的 protoc 编译器 - pip install grpcio-tools - -# 编译 proto 文件 - python -m grpc_tools.protoc --python_out=. --grpc_python_out=. -I. helloworld.proto - - python -m grpc_tools.protoc: python 下的 protoc 编译器通过 python 模块(module) 实现 - --python_out=. : 编译生成处理 protobuf 相关的代码的路径, 这里生成到当前目录 - --grpc_python_out=. : 编译生成处理 grpc 相关的代码的路径, 这里生成到当前目录 - -I. helloworld.proto : proto 文件的路径, 这里的 proto 文件在当前目录 -- GitLab