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

package_name = 'saltybot_ntrip_client'

setup(
    name=package_name,
    version='0.1.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, 'launch'),
            glob('launch/*.py')),
        (os.path.join('share', package_name, 'config'),
            glob('config/*.yaml')),
    ],
    install_requires=['setuptools'],
    zip_safe=True,
    maintainer='Sebastien Vayrette',
    maintainer_email='seb@vayrette.com',
    description='NTRIP client — RTCM3 corrections via DroneCAN to Here4',
    license='MIT',
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            'ntrip_client_node = saltybot_ntrip_client.ntrip_client_node:main',
        ],
    },
)
