from setuptools import setup

package_name = "saltybot_esp32_serial"

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}/config", ["config/esp32_balance_params.yaml"]),
        (f"share/{package_name}/launch", ["launch/esp32_balance.launch.py"]),
    ],
    install_requires=["setuptools", "pyserial"],
    zip_safe=True,
    maintainer="sl-perception",
    maintainer_email="sl-perception@saltylab.local",
    description="UART/USB-CDC serial bridge for ESP32-S3 BALANCE (bd-wim1)",
    license="MIT",
    tests_require=["pytest"],
    entry_points={
        "console_scripts": [
            "esp32_balance_node = saltybot_esp32_serial.esp32_balance_node:main",
        ],
    },
)
