-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathBUILD.pants
More file actions
82 lines (76 loc) · 1.85 KB
/
BUILD.pants
File metadata and controls
82 lines (76 loc) · 1.85 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
python_requirements(
name="3rdparty",
source="pyproject.toml",
module_mapping={
"mcap-ros1-support": ("mcap_ros1",),
"mcap-ros2-support": ("mcap_ros2",)
},
)
resource(
name="pyproject.toml",
source="pyproject.toml",
)
python_distribution(
name="roboto-dist",
dependencies=[
"//src/roboto:roboto-src",
"//src/roboto:py_typed",
"//:pyproject.toml",
],
provides=python_artifact(
name="roboto",
),
generate_setup=False,
wheel=True,
sdist=False,
)
pex_binary(
name="roboto-cli",
dependencies=[
"//:roboto-dist",
],
entry_point="roboto.cli.entry:entry",
execution_mode="venv",
complete_platforms=[
"//build-support/pex_platforms:linux_py313_aarch64",
"//build-support/pex_platforms:linux_py313_x86_64",
"//build-support/pex_platforms:macos_py313_aarch64",
"//build-support/pex_platforms:macos_py313_x86_64",
],
)
pex_binary(
name="roboto-agent-cli",
dependencies=[
"//:roboto-dist",
],
entry_point="roboto.upload_agent.__main__:main",
execution_mode="venv",
complete_platforms=[
"//build-support/pex_platforms:linux_py313_aarch64",
"//build-support/pex_platforms:linux_py313_x86_64",
"//build-support/pex_platforms:macos_py313_aarch64",
"//build-support/pex_platforms:macos_py313_x86_64",
],
)
scie_binary(
name="roboto",
dependencies=["//:roboto-cli"],
platforms=[
"linux-aarch64",
"linux-x86_64",
"macos-aarch64",
"macos-x86_64",
],
lift="roboto-cli-lift.toml"
)
scie_binary(
name="roboto-agent",
dependencies=["//:roboto-agent-cli"],
platforms=[
"linux-aarch64",
"linux-x86_64",
"macos-aarch64",
"macos-x86_64",
],
lift="roboto-agent-lift.toml"
)