from setuptools import setup
import os
from glob import glob

package_name = 'environment_node'

setup(
    name=package_name,
    version='1.0.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/*')),
    ],
    install_requires=['setuptools'],
    zip_safe=True,
    maintainer='sunrise',
    maintainer_email='sunrise@example.com',
    description='Environment Node - 发布机器人环境数据',
    license='MIT',
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            'environment_node = ' + package_name + '.environment_node:main',
        ],
    },
)
