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

package_name = 'vlm_detect'

setup(
    name=package_name,
    version='0.0.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='root',
    maintainer_email='root@todo.todo',
    description='VLM 图生文检测 + TTS 语音播报',
    license='TODO: License declaration',
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            'vlm_node = vlm_detect.vlm_node:main',
            'local_vlm_adapter = vlm_detect.local_vlm_adapter_node:main',
            'test_publisher = vlm_detect.test_publisher:main',
            'tts_node = vlm_detect.tts_node:main',
            'tts_server = vlm_detect.tts_server:main',
            'qr_tts_bridge = vlm_detect.qr_tts_bridge:main',
        ],
    },
)
