# -*- coding: utf-8 -*-
"""
蜂巢云控 Python SDK 安装配置
"""

from setuptools import setup, find_packages

with open("README.md", "r", encoding="utf-8") as f:
    long_description = f.read()

setup(
    name="fengchao-sdk",
    version="1.2.3",
    author="蜂巢云控",
    author_email="support@qunkong.com",
    description="蜂巢云控 Python SDK - 手机自动化控制",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/fendoushaonian/phone-control",
    packages=find_packages(),
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
        "Topic :: Software Development :: Libraries :: Python Modules",
        "Topic :: Software Development :: Testing",
    ],
    python_requires=">=3.7",
    install_requires=[
        "websocket-client>=1.0.0",
        "requests>=2.20.0",
    ],
    extras_require={
        "image": ["Pillow>=8.0.0", "opencv-python>=4.5.0"],
        "ocr": ["rapidocr_onnxruntime>=1.0.0"],
        "all": ["Pillow>=8.0.0", "opencv-python>=4.5.0", "rapidocr_onnxruntime>=1.0.0"],
    },
    keywords="android automation control phone fengchao qunkong accessibility hid adb",
    project_urls={
        "Documentation": "https://qk.lhy.lat/docs/sdk",
        "Bug Reports": "https://github.com/fendoushaonian/phone-control/issues",
        "Source": "https://github.com/fendoushaonian/phone-control",
    },
)
