import os
from glob import glob
from setuptools import setup

package_name = "saltybot_uwb_logger"

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"]),
        (os.path.join("share", package_name, "launch"), glob("launch/*.py")),
        (os.path.join("share", package_name, "config"), glob("config/*.yaml")),
    ],
    install_requires=["setuptools"],
    zip_safe=True,
    maintainer="sl-uwb",
    maintainer_email="sl-uwb@saltylab.local",
    description="UWB position logger and accuracy analyzer (Issue #634)",
    license="Apache-2.0",
    entry_points={
        "console_scripts": [
            "uwb_logger = saltybot_uwb_logger.logger_node:main",
        ],
    },
)
