1load("@grpc_python_dependencies//:requirements.bzl", "requirement") 2package(default_visibility = ["//visibility:public"]) 3 4py_library( 5 name = "beta", 6 srcs = ["__init__.py",], 7 deps = [ 8 ":client_adaptations", 9 ":metadata", 10 ":server_adaptations", 11 ":implementations", 12 ":interfaces", 13 ":utilities", 14 ], 15) 16 17py_library( 18 name = "client_adaptations", 19 srcs = ["_client_adaptations.py"], 20 imports=["../../",] 21) 22 23py_library( 24 name = "metadata", 25 srcs = ["_metadata.py"], 26) 27 28py_library( 29 name = "server_adaptations", 30 srcs = ["_server_adaptations.py"], 31 imports=["../../",], 32) 33 34py_library( 35 name = "implementations", 36 srcs = ["implementations.py"], 37 imports=["../../",], 38) 39 40py_library( 41 name = "interfaces", 42 srcs = ["interfaces.py"], 43 deps = [ 44 requirement("six"), 45 ], 46 imports=["../../",], 47) 48 49py_library( 50 name = "utilities", 51 srcs = ["utilities.py"], 52 deps = [ 53 ":implementations", 54 ":interfaces", 55 "//src/python/grpcio/grpc/framework/foundation", 56 ], 57) 58 59