from setuptools import setup

package_name = "saltybot_diagnostics_aggregator"

setup(
    name=package_name,
    version="0.1.0",
    packages=[package_name],
    data_files=[
        ("share/ament_index/resource_index/packages", [f"resource/{package_name}"]),
        (f"share/{package_name}", ["package.xml"]),
        (f"share/{package_name}/launch", ["launch/diagnostics_aggregator.launch.py"]),
        (f"share/{package_name}/config", ["config/aggregator_params.yaml"]),
    ],
    install_requires=["setuptools"],
    zip_safe=True,
    maintainer="sl-firmware",
    maintainer_email="sl-firmware@saltylab.local",
    description="Diagnostics aggregator — unified health dashboard for SaltyBot",
    license="MIT",
    tests_require=["pytest"],
    entry_points={
        "console_scripts": [
            "diagnostics_aggregator_node = "
            "saltybot_diagnostics_aggregator.aggregator_node:main",
        ],
    },
)
