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

setup(
    name='saltybot_photo_capture',
    version='0.1.0',
    packages=find_packages(exclude=['test']),
    data_files=[
        ('share/ament_index/resource_index/packages',
            ['resource/saltybot_photo_capture']),
        ('share/saltybot_photo_capture', ['package.xml']),
        (os.path.join('share', 'saltybot_photo_capture', 'launch'),
            glob(os.path.join('launch', '*launch.[pxy][yma]*'))),
        (os.path.join('share', 'saltybot_photo_capture', 'config'),
            glob(os.path.join('config', '*.yaml'))),
    ],
    install_requires=['setuptools'],
    zip_safe=True,
    maintainer='seb',
    maintainer_email='seb@vayrette.com',
    description='Photo capture service for SaltyBot (Issue #456)',
    license='MIT',
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            'photo_capture_node = saltybot_photo_capture.photo_capture_node:main',
        ],
    },
)
