The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#) https://grpc.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
716 B

load("@grpc_python_dependencies//:requirements.bzl", "requirement")
py_binary(
name = "client",
testonly = 1,
srcs = ["client.py"],
deps = [
"//src/python/grpcio/grpc:grpcio"
],
6 years ago
default_python_version = "PY3",
)
py_binary(
name = "server",
testonly = 1,
srcs = ["server.py"],
deps = [
"//src/python/grpcio/grpc:grpcio"
6 years ago
] + select({
"//conditions:default": [requirement("futures")],
"//:python3": [],
}),
default_python_version = "PY3",
)
py_test(
name = "test/_multiprocessing_example_test",
srcs = ["test/_multiprocessing_example_test.py"],
data = [
":client",
":server"
],
size = "small",
)