-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.bazel
More file actions
25 lines (22 loc) · 731 Bytes
/
BUILD.bazel
File metadata and controls
25 lines (22 loc) · 731 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
load("@rules_uv//uv:pip.bzl", "pip_compile")
load("@rules_uv//uv:venv.bzl", "create_venv")
pip_compile(
name = "generate_requirements_linux_x86_64_txt",
args = [
"--generate-hashes",
"--emit-index-url",
"--no-strip-extras",
"--extra=test",
"--extra=agent-r2d2",
"--index=https://download.pytorch.org/whl/cpu",
],
python_platform = "x86_64-manylinux_2_28", # envpool needs at least 2_24
requirements_in = "//:pyproject.toml",
requirements_txt = "requirements_linux_x86_64.txt",
)
create_venv(
name = "dot_venv_linux_x86_64",
destination_folder = ".venv",
requirements_txt = ":requirements_linux_x86_64.txt",
)
exports_files(["pyproject.toml"])