blob: 9a0c41977f04154d4bdaebcc78f846632935f399 [file] [log] [blame]
Naresh11f199e2018-07-27 14:44:09 +00001workspace(name="com_github_grpc_grpc")
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +02002
Alex Polcynaa560342018-02-12 23:13:13 +00003load("//bazel:grpc_deps.bzl", "grpc_deps", "grpc_test_only_deps")
Ning Ren174e02a2017-11-20 15:24:21 -08004grpc_deps()
Alex Polcynaa560342018-02-12 23:13:13 +00005grpc_test_only_deps()
Naresh11f199e2018-07-27 14:44:09 +00006
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()