Skip to content

Commit 1e95754

Browse files
brettchabotcopybara-androidxtest
authored andcommitted
Use rules python instead of native python rules from bazel/blaze.
PiperOrigin-RevId: 550028181
1 parent cad9df0 commit 1e95754

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

WORKSPACE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,19 @@ load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_
3535
rules_proto_dependencies()
3636
rules_proto_toolchains()
3737

38+
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
39+
40+
http_archive(
41+
name = "rules_python",
42+
sha256 = "0a8003b044294d7840ac7d9d73eef05d6ceb682d7516781a4ec62eeb34702578",
43+
strip_prefix = "rules_python-0.24.0",
44+
url = "https://github.com/bazelbuild/rules_python/releases/download/0.24.0/rules_python-0.24.0.tar.gz",
45+
)
46+
47+
load("@rules_python//python:repositories.bzl", "py_repositories")
48+
49+
py_repositories()
50+
3851
load("@rules_jvm_external//:defs.bzl", "maven_install")
3952
load("@rules_jvm_external//:specs.bzl", "maven")
4053
load(

0 commit comments

Comments
 (0)