from setuptools import find_packages, setup
import glob

package_name = 'saltybot_power_supervisor'

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.glob('launch/*.launch.py')),
        ('share/' + package_name + '/config', glob.glob('config/*.yaml')),
    ],
    install_requires=['setuptools'],
    zip_safe=True,
    maintainer='Seb',
    maintainer_email='seb@vayrette.com',
    description='Power management supervisor with battery protection and graceful shutdown',
    license='MIT',
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            'power_supervisor_node = saltybot_power_supervisor.power_supervisor_node:main',
        ],
    },
)
