from setuptools import setup

package_name = "saltybot_cmd_vel_mux"

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/cmd_vel_mux.launch.py"]),
        (f"share/{package_name}/config", ["config/mux_config.yaml"]),
    ],
    install_requires=["setuptools"],
    zip_safe=True,
    maintainer="sl-controls",
    maintainer_email="sl-controls@saltylab.local",
    description=(
        "cmd_vel multiplexer: priority-based routing with 0.5s timeout"
    ),
    license="MIT",
    tests_require=["pytest"],
    entry_points={
        "console_scripts": [
            "cmd_vel_mux_node = saltybot_cmd_vel_mux.cmd_vel_mux_node:main",
        ],
    },
)
