On Sun, Aug 14, 2016 at 11:43 PM, <[email protected]> wrote:

> What is the difference between invoking protoc
>
> protoc -I. --python_out=tmp --grpc_out=tmp --plugin=protoc-gen-grpc=`which
> grpc_python_plugin`       test.proto
> (some online docs)
>
> and using grpcio-tools
>
> python -m grpc.tools.protoc -I. --python_out=tmp  --grpc_python_out=tmp
> test.proto
> (official gRPC Basics: python)
>
> Are they the same thing?
>

They're not the same thing, but they should have the same effect (produce
identical generated _pb2.py files). Use whichever is more convenient!
-Nathaniel

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAEOYnAQ4ERjPFmg4D7JgujOnDHgU%3DRO%3D4jy3qZBkNhEi5cTZfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to