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

package_name = 'cloud_llm_node'

setup(
    name=package_name,
    version='1.0.0',
    py_modules=['cloud_llm_node'],
    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='Your Name',
    maintainer_email='your@email.com',
    description='云端大模型节点，用于调用 DeepSeek 等云端 LLM 服务',
    license='MIT',
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            'cloud_llm_node = cloud_llm_node:main',
        ],
    },
)

