from setuptools import setup
import os
from glob import glob

package_name = 'saltybot_dashboard'

setup(
    name=package_name,
    version='0.1.0',
    packages=[package_name],
    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')),
        (os.path.join('share', package_name, 'static/css'), glob('static/css/*')),
        (os.path.join('share', package_name, 'static/js'), glob('static/js/*')),
        (os.path.join('share', package_name, 'templates'), glob('templates/*')),
    ],
    install_requires=['setuptools', 'flask', 'python-socketio', 'python-socketio-client'],
    zip_safe=True,
    maintainer='seb',
    maintainer_email='seb@vayrette.com',
    description='Remote monitoring dashboard for SaltyBot with WebSocket live updates',
    license='MIT',
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            'dashboard_node = saltybot_dashboard.dashboard_node:main',
        ],
    },
)
