1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
load("@grpc_python_dependencies//:requirements.bzl", "requirement")
package(default_visibility = ["//visibility:public"])
py_library(
name = "grpcio",
srcs = ["__init__.py"],
deps = [
":utilities",
":auth",
":plugin_wrapping",
":channel",
":interceptor",
":server",
"//src/python/grpcio/grpc/_cython:cygrpc",
"//src/python/grpcio/grpc/experimental",
"//src/python/grpcio/grpc/framework",
requirement('enum34'),
requirement('six'),
],
data = [
"//:grpc",
],
imports = ["../",],
)
py_library(
name = "auth",
srcs = ["_auth.py"],
)
py_library(
name = "channel",
srcs = ["_channel.py"],
deps = [
":common",
":grpcio_metadata",
],
)
py_library(
name = "common",
srcs = ["_common.py"],
)
py_library(
name = "grpcio_metadata",
srcs = ["_grpcio_metadata.py"],
)
py_library(
name = "interceptor",
srcs = ["_interceptor.py"],
)
py_library(
name = "plugin_wrapping",
srcs = ["_plugin_wrapping.py"],
deps = [
":common",
]
)
py_library(
name = "server",
srcs = ["_server.py"],
deps = [
":common",
":interceptor",
],
)
py_library(
name = "utilities",
srcs = ["_utilities.py"],
deps = [
":common",
],
)
|