I tried several different ways to embed the Python grpcio
module in my Bazel project, but unfortunately none of them work correctly.
As far as I know, Bazel does not support injecting plugins into the Python environment (so you can directly run import grpcio
). Please note: Bazel does not support virtual and other tools (buildout ...).
I found a way to enable Pypi packages thanks to this proof of concept , but unfortunately it does not work for grpc.io (there are no environment variables).
I am trying to debug a plugin, but I am wondering if there is a better way to enable the grpcio
module since the code is based on Bazel?
source share