from setuptools import setup

package_name = "saltybot_system_monitor"

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/system_monitor.launch.py"]),
        (f"share/{package_name}/config",  ["config/system_monitor.yaml"]),
    ],
    install_requires=["setuptools"],
    zip_safe=True,
    maintainer="sl-jetson",
    maintainer_email="sl-jetson@saltylab.local",
    description=(
        "Jetson Orin system monitor: CPU/GPU/RAM/disk/temp/fan/power → "
        "/saltybot/system/stats + DiagnosticArray (Issue #631)"
    ),
    license="Apache-2.0",
    tests_require=["pytest"],
    entry_points={
        "console_scripts": [
            "system_monitor_node = saltybot_system_monitor.system_monitor_node:main",
        ],
    },
)
