diff --git a/README.md b/README.md index 26d6195a4a370382186b29069de36392470dc15e..475357ed38a6e847b7384874c2c0cfd763f21176 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 文件在当前目录