integration/homeassistant/tools/package_component.py
openaliro/openaliro
Module
package_component.py
Build a local OpenAliro custom-component archive without publishing it.
Overview
Build a local OpenAliro custom-component archive without publishing it.
flowchart TD build_archive --> _copy_tree
API
F_copy_tree(source: Path, destination: Path) -> None
integration/homeassistant/tools/package_component.py:18
Recursively copy source directory to destination, excluding __pycache__, *.pyc, *.pyo.
called by
build_archiveFbuild_archive(output: Path) -> Path
integration/homeassistant/tools/package_component.py:27
Create an archive rooted at `custom_components/openaliro`.
called by
main · calls _copy_treeFmain() -> int
integration/homeassistant/tools/package_component.py:45
Parse command-line arguments and build the Home Assistant component archive.
calls
build_archive