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

package_name = 'saltybot_outdoor'

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='Outdoor navigation: OSM routing, GPS waypoint following, geofence',
    license='MIT',
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            'osm_router_node       = saltybot_outdoor.osm_router_node:main',
            'gps_waypoint_follower = saltybot_outdoor.gps_waypoint_follower_node:main',
            'geofence_node         = saltybot_outdoor.geofence_node:main',
        ],
    },
)
