-
-
Notifications
You must be signed in to change notification settings - Fork 679
Expand file tree
/
Copy pathMODULE.bazel
More file actions
32 lines (27 loc) · 737 Bytes
/
MODULE.bazel
File metadata and controls
32 lines (27 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
module(name = "root")
bazel_dep(name = "rules_python", version = "0.0.0")
bazel_dep(name = "submodule", version = "0.0.0")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
local_path_override(
module_name = "rules_python",
path = "../../..",
)
local_path_override(
module_name = "submodule",
path = "submodule",
)
python = use_extension(
"@rules_python//python/extensions:python.bzl",
"python",
dev_dependency = True,
)
python.toolchain(python_version = "3.13")
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
pip.parse(
hub_name = "root_pypi",
python_version = "3.13",
requirements_lock = "//:requirements_linux.txt",
)
pip.bind_pypi(
hub_name = "root_pypi",
)