from setuptools import find_packages, setup

package_name = "saltybot_battery_speed_scaler"

setup(
    name=package_name,
    version="0.1.0",
    packages=find_packages(exclude=["test"]),
    data_files=[
        ("share/ament_index/resource_index/packages", ["resource/" + package_name]),
        ("share/" + package_name, ["package.xml"]),
        ("share/" + package_name + "/launch", ["launch/battery_speed_scaler.launch.py"]),
        ("share/" + package_name + "/config", ["config/battery_config.yaml"]),
    ],
    install_requires=["setuptools"],
    zip_safe=True,
    maintainer="Seb",
    maintainer_email="seb@vayrette.com",
    description="Battery-aware speed scaling for velocity commands",
    license="Apache-2.0",
    tests_require=["pytest"],
    entry_points={
        "console_scripts": [
            "battery_speed_scaler_node = saltybot_battery_speed_scaler.battery_speed_scaler_node:main",
        ],
    },
)
