This repo generates the missing Python code to support code generated using gRPC Gateway protoc annotations.
This package depends on googleapis-common-protos to provide google.api.annotations_pb2 and others
that the generated code will depend on.
pip install grpc-protoc-annotations- Run
./bump_version.sh 2.16.0(replace 2.16.0 with the corresponding grpc-gateway release) - Verify changes and commit
- Build and distribute
- Run
make init - Run
make buildto generate the code from grpc-gateway and build the package - Run
pip install dist/grpc_protoc_annotations-2.14.0-py3-none-any.whlto install in the current Python distribution
Setup PyPi credentials and
make distribute
Original implementation from HackEdu, but Github repository is not available anymore and the Pypi package unmaintained.