1 workspace(name="com_github_grpc_grpc") 2 3 load("//bazel:grpc_deps.bzl", "grpc_deps", "grpc_test_only_deps") 4 grpc_deps() 5 grpc_test_only_deps() 6 7 new_http_archive( 8 name="cython", 9 sha256="d68138a2381afbdd0876c3cb2a22389043fa01c4badede1228ee073032b07a27", 10 urls=[ 11 "https://github.com/cython/cython/archive/c2b80d87658a8525ce091cbe146cb7eaa29fed5c.tar.gz", 12 ], 13 strip_prefix="cython-c2b80d87658a8525ce091cbe146cb7eaa29fed5c", 14 build_file="//third_party:cython.BUILD", 15 ) 16 17 load("//third_party/py:python_configure.bzl", "python_configure") 18 python_configure(name="local_config_python") 19 20 git_repository( 21 name="io_bazel_rules_python", 22 remote="https://github.com/bazelbuild/rules_python.git", 23 commit="8b5d0683a7d878b28fffe464779c8a53659fc645", 24 ) 25 26 load("@io_bazel_rules_python//python:pip.bzl", "pip_repositories", "pip_import") 27 28 pip_repositories() 29 pip_import( 30 name="grpc_python_dependencies", 31 requirements="//:requirements.bazel.txt", 32 ) 33 34 load("@grpc_python_dependencies//:requirements.bzl", "pip_install") 35 pip_install() 36 37 git_repository( 38 name="org_pubref_rules_protobuf", 39 remote="https://github.com/pubref/rules_protobuf", 40 tag="v0.8.2", 41 ) 42 43 load("@org_pubref_rules_protobuf//python:rules.bzl", "py_proto_repositories") 44 py_proto_repositories() 45