From 7876bb07a68f99a23f7cabf80a680c753ff33dc0 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Thu, 25 May 2023 15:56:28 +0200 Subject: [PATCH] [python] make enum part of cluster wheel (#26740) * [python] make enum part of cluster wheel The new enum type is required in the Cluster objects. Make it and its dependency part of the Cluster CHIP wheel. Fixes PR #24352. * Restyle --- src/controller/python/BUILD.gn | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/controller/python/BUILD.gn b/src/controller/python/BUILD.gn index 3f9e310e44e1ee..102e9f3f654ace 100644 --- a/src/controller/python/BUILD.gn +++ b/src/controller/python/BUILD.gn @@ -214,7 +214,6 @@ chip_python_wheel_action("chip-core") { "chip/clusters/Attribute.py", "chip/clusters/Command.py", "chip/clusters/__init__.py", - "chip/clusters/enum.py", "chip/commissioning/__init__.py", "chip/commissioning/commissioning_flow_blocks.py", "chip/commissioning/pase.py", @@ -300,7 +299,6 @@ chip_python_wheel_action("chip-core") { } py_package_reqs = [ - "aenum", "coloredlogs", "construct", "dacite", @@ -361,6 +359,7 @@ chip_python_wheel_action("chip-clusters") { "chip/clusters/Objects.py", "chip/clusters/TestObjects.py", "chip/clusters/Types.py", + "chip/clusters/enum.py", "chip/tlv/__init__.py", ] }, @@ -378,7 +377,10 @@ chip_python_wheel_action("chip-clusters") { "chip.tlv", ] - py_package_reqs = [ "dacite" ] + py_package_reqs = [ + "dacite", + "aenum", + ] py_package_name = "${chip_python_package_prefix}-clusters" py_package_output = string_replace(py_package_name, "-", "_")