• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1workspace(name="com_github_grpc_grpc")
2
3load("//bazel:grpc_deps.bzl", "grpc_deps", "grpc_test_only_deps")
4grpc_deps()
5grpc_test_only_deps()
6
7new_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
17load("//third_party/py:python_configure.bzl", "python_configure")
18python_configure(name="local_config_python")
19
20git_repository(
21    name="io_bazel_rules_python",
22    remote="https://github.com/bazelbuild/rules_python.git",
23    commit="8b5d0683a7d878b28fffe464779c8a53659fc645",
24)
25
26load("@io_bazel_rules_python//python:pip.bzl", "pip_repositories", "pip_import")
27
28pip_repositories()
29pip_import(
30    name="grpc_python_dependencies",
31    requirements="//:requirements.bazel.txt",
32)
33
34load("@grpc_python_dependencies//:requirements.bzl", "pip_install")
35pip_install()
36
37git_repository(
38    name="org_pubref_rules_protobuf",
39    remote="https://github.com/pubref/rules_protobuf",
40    tag="v0.8.2",
41)
42
43load("@org_pubref_rules_protobuf//python:rules.bzl", "py_proto_repositories")
44py_proto_repositories()
45