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

package_name = 'saltybot_night_vision'

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',
            glob('launch/*.launch.py')),
        ('share/' + package_name + '/config',
            glob('config/*.yaml')),
    ],
    install_requires=['setuptools'],
    zip_safe=True,
    maintainer='SaltyLab',
    maintainer_email='robot@saltylab.local',
    description='Night vision mode: IR emitter, headlight, ambient-light FSM, IR SLAM bridge',
    license='MIT',
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            'light_monitor        = saltybot_night_vision.light_monitor_node:main',
            'night_vision_ctrl   = saltybot_night_vision.night_vision_controller_node:main',
            'ir_slam_bridge      = saltybot_night_vision.ir_slam_bridge_node:main',
        ],
    },
)
