File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,27 @@ filegroup(
1111 visibility = ["//visibility:public" ],
1212)
1313
14+ load ("@rules_python//python:defs.bzl" , "py_runtime_pair" )
15+
16+ py_runtime (
17+ name = "py3_runtime" ,
18+ interpreter_path = "/usr/bin/python3" ,
19+ python_version = "PY3" ,
20+ stub_shebang = "#!/usr/bin/python3" ,
21+ )
22+
23+ py_runtime_pair (
24+ name = "py_runtime_pair" ,
25+ py2_runtime = None ,
26+ py3_runtime = ":py3_runtime" ,
27+ )
28+
29+ toolchain (
30+ name = "py_toolchain" ,
31+ toolchain = ":py_runtime_pair" ,
32+ toolchain_type = "@rules_python//python:toolchain_type" ,
33+ )
34+
1435alias (
1536 name = "grid" ,
1637 actual = "//java/src/org/openqa/selenium/grid:executable-grid" ,
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ workspace(
66 },
77)
88
9+ register_toolchains (":py_toolchain" )
10+
911load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
1012
1113http_archive (
You can’t perform that action at this time.
0 commit comments