RPC: Fix RPC console install (#21837)
Was not properly including the proto files, fix to have them
included.
diff --git a/BUILD.gn b/BUILD.gn
index 30e24a7..a233ab2 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -116,10 +116,15 @@
source_packages = _matter_python_packages + _pigweed_python_packages
}
+ pw_internal_pip_install("pip_install_matter_packages") {
+ packages = [ "//examples/common/pigweed/rpc_console:chip_rpc_distribution" ]
+ }
+
# Python packages installed during bootstrap.
pw_python_group("python_packages") {
python_deps = [
":pip_install_editable_matter_packages",
+ ":pip_install_matter_packages",
"$dir_pw_env_setup:pip_install_pigweed_package",
]
}
@@ -129,7 +134,6 @@
packages = [
"//integrations/mobly:chip_mobly",
"//examples/chef",
- "//examples/common/pigweed/rpc_console/py:chip_rpc",
]
editable = true
}
diff --git a/examples/common/pigweed/rpc_console/BUILD.gn b/examples/common/pigweed/rpc_console/BUILD.gn
index fd62a9d..3a609b7 100644
--- a/examples/common/pigweed/rpc_console/BUILD.gn
+++ b/examples/common/pigweed/rpc_console/BUILD.gn
@@ -33,6 +33,7 @@
packages = [ "py:chip_rpc" ]
generate_setup_cfg = {
common_config_file = "common_setup.cfg"
+ append_date_to_version = true
}
extra_files = [ "py/pyproject.toml > pyproject.toml" ]
}