diff options
author | Ruslan Nigmatullin <elessar@dropbox.com> | 2018-09-04 23:16:58 +0000 |
---|---|---|
committer | Ruslan Nigmatullin <elessar@dropbox.com> | 2018-09-04 23:19:57 +0000 |
commit | dcc0a223c63f67d20854459155eee14aa4833a13 (patch) | |
tree | fa4e8e4e0c0a3b8c9676f34dd9147d7e540d2d20 /src/python/grpcio/grpc/BUILD.bazel | |
parent | a1f5c0942d1656ac16f7f385989c402d3b4074a0 (diff) |
[bazel] Fix python BUILD rules
* Add missing cython sources
* Make grpcio a library as it is not a binary
Diffstat (limited to 'src/python/grpcio/grpc/BUILD.bazel')
-rw-r--r-- | src/python/grpcio/grpc/BUILD.bazel | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/python/grpcio/grpc/BUILD.bazel b/src/python/grpcio/grpc/BUILD.bazel index 3f214bf3b0..2e6839ef2d 100644 --- a/src/python/grpcio/grpc/BUILD.bazel +++ b/src/python/grpcio/grpc/BUILD.bazel @@ -2,7 +2,7 @@ load("@grpc_python_dependencies//:requirements.bzl", "requirement") package(default_visibility = ["//visibility:public"]) -py_binary( +py_library( name = "grpcio", srcs = ["__init__.py"], deps = [ @@ -22,7 +22,6 @@ py_binary( data = [ "//:grpc", ], - main = "__init__.py", imports = ["../",], ) |