import os
from glob import glob

from setuptools import find_packages, setup

package_name = 'udp_teleop'

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']),
        (os.path.join('share', package_name, 'config'),
            glob('config/*.yaml')),
        (os.path.join('share', package_name, 'models'),
            glob('models/*.pt')),
    ],
    install_requires=['setuptools'],
    zip_safe=True,
    maintainer='fallensigh',
    maintainer_email='fallensigh@gmail.com',
    description='TODO: Package description',
    license='TODO: License declaration',
    extras_require={
        'test': [
            'pytest',
        ],
    },
    entry_points={
        'console_scripts': [
            'keyboard_control = udp_teleop.keyboard_control:main',
            'arm_control = udp_teleop.arm_control:main',
            'vision_grasp = udp_teleop.vision_grasp:main',
            'box_detection_grasp = udp_teleop.box_detection_grasp:main',
        ],
    },
)
