from setuptools import setup
import os
from glob import glob

package_name = 'saltybot_hand_tracking'

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/*.launch.py')),
        (os.path.join('share', package_name, 'config'),
         glob('config/*.yaml')),
    ],
    install_requires=['setuptools'],
    zip_safe=True,
    maintainer='sl-perception',
    maintainer_email='sl-perception@saltylab.local',
    description='MediaPipe hand tracking node for SaltyBot (Issue #342)',
    license='MIT',
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            # MediaPipe Hands inference + gesture classification (Issue #342)
            'hand_tracking = saltybot_hand_tracking.hand_tracking_node:main',
        ],
    },
)
