|
|
|
@ -19,24 +19,6 @@ load("@com_github_grpc_grpc//third_party/py:python_configure.bzl", "python_confi |
|
|
|
|
# buildifier: disable=unnamed-macro |
|
|
|
|
def grpc_python_deps(): |
|
|
|
|
"""Loads dependencies for gRPC Python.""" |
|
|
|
|
if "enum34" not in native.existing_rules(): |
|
|
|
|
http_archive( |
|
|
|
|
name = "enum34", |
|
|
|
|
build_file = "@com_github_grpc_grpc//third_party:enum34.BUILD", |
|
|
|
|
strip_prefix = "enum34-1.1.6", |
|
|
|
|
sha256 = "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1", |
|
|
|
|
urls = ["https://files.pythonhosted.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/enum34-1.1.6.tar.gz"], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
if "futures" not in native.existing_rules(): |
|
|
|
|
http_archive( |
|
|
|
|
name = "futures", |
|
|
|
|
build_file = "@com_github_grpc_grpc//third_party:futures.BUILD", |
|
|
|
|
strip_prefix = "futures-3.3.0", |
|
|
|
|
sha256 = "7e033af76a5e35f58e56da7a91e687706faf4e7bdfb2cbc3f2cca6b9bcda9794", |
|
|
|
|
urls = ["https://files.pythonhosted.org/packages/47/04/5fc6c74ad114032cd2c544c575bffc17582295e9cd6a851d6026ab4b2c00/futures-3.3.0.tar.gz"], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
if "io_bazel_rules_python" not in native.existing_rules(): |
|
|
|
|
http_archive( |
|
|
|
|
name = "io_bazel_rules_python", |
|
|
|
|