Skip to content

Commit

Permalink
[python] make enum part of cluster wheel
Browse files Browse the repository at this point in the history
The new enum type is required in the Cluster objects. Make it and its
dependency part of the Cluster CHIP wheel.

Fixes PR #24352.
  • Loading branch information
agners committed May 23, 2023
1 parent 1efbaf6 commit 53d8978
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/controller/python/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -300,7 +299,6 @@ chip_python_wheel_action("chip-core") {
}

py_package_reqs = [
"aenum",
"coloredlogs",
"construct",
"dacite",
Expand Down Expand Up @@ -358,6 +356,7 @@ chip_python_wheel_action("chip-clusters") {
"chip/ChipUtility.py",
"chip/clusters/CHIPClusters.py",
"chip/clusters/ClusterObjects.py",
"chip/clusters/enum.py",
"chip/clusters/Objects.py",
"chip/clusters/TestObjects.py",
"chip/clusters/Types.py",
Expand All @@ -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, "-", "_")
Expand Down

0 comments on commit 53d8978

Please sign in to comment.