from setuptools import setup

package_name = "saltybot_motor_daemon"

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/motor_daemon.launch.py",
        ]),
        (f"share/{package_name}/config", [
            "config/motor_daemon_params.yaml",
        ]),
    ],
    install_requires=["setuptools", "pyserial"],
    zip_safe=True,
    maintainer="sl-jetson",
    maintainer_email="sl-jetson@saltylab.local",
    description="Orin motor control daemon — W command protocol over ttyTHS1",
    license="MIT",
    tests_require=["pytest"],
    entry_points={
        "console_scripts": [
            "motor_daemon_node = saltybot_motor_daemon.motor_daemon_node:main",
        ],
    },
)
