import os
from glob import glob
from setuptools import find_packages, setup

package_name = 'saltybot_routes'

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']),
        (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='seb',
    maintainer_email='seb@saltylab.io',
    description='Route recording and autonomous replay — ride once, replay forever.',
    license='MIT',
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            'route_recorder_node  = saltybot_routes.route_recorder_node:main',
            'route_replayer_node  = saltybot_routes.route_replayer_node:main',
            'route_manager_node   = saltybot_routes.route_manager_node:main',
        ],
    },
)
