"""
MyJARVIS - 您的个人AI助手
一个功能强大的AI助手，支持语音识别、自动化控制、智能搜索等功能
"""
from setuptools import setup, find_packages
import os

# 读取 README
def read_readme():
    with open("README.md", "r", encoding="utf-8") as f:
        return f.read()

# 读取 requirements
def read_requirements():
    with open("requirements.txt", "r", encoding="utf-8") as f:
        return [line.strip() for line in f if line.strip() and not line.startswith("#")]

setup(
    name="myjarvis",
    version="1.0.0",
    author="MyJARVIS Team",
    author_email="",
    description="一个功能强大的个人AI助手，支持语音识别、自动化控制、智能搜索等功能",
    long_description=read_readme(),
    long_description_content_type="text/markdown",
    url="https://github.com/yourusername/myjarvis",
    packages=find_packages(),
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: End Users/Desktop",
        "Topic :: Scientific/Engineering :: Artificial Intelligence",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.10",
        "Operating System :: MacOS :: MacOS X",
    ],
    python_requires=">=3.10",
    install_requires=read_requirements(),
    entry_points={
        "console_scripts": [
            "myjarvis=main:main",
            "jarvis=main:main",
        ],
    },
    include_package_data=True,
    package_data={
        "": ["config.json.example"],
    },
    keywords="ai assistant jarvis automation voice recognition",
    project_urls={
        "Bug Reports": "https://github.com/yourusername/myjarvis/issues",
        "Source": "https://github.com/yourusername/myjarvis",
        "Documentation": "https://github.com/yourusername/myjarvis#readme",
    },
)

