from setuptools import setup, find_packages from pathlib import Path long_description = Path("README.md").read_text(encoding="utf-8") setup( name="android-pyapi", version="1.0.0", description="Android API for Python — 在桌面/Linux 上原生运行 Android API", long_description=long_description, long_description_content_type="text/markdown", license="MIT", author="shuiyu1123", url="https://gitee.com/shuiyu1123/Android-pyApi", packages=find_packages(), python_requires=">=3.8", install_requires=[ # 核心依赖(全部可选,缺失时自动降级) ], extras_require={ "linux": [ "psutil", "requests", "Pillow", "opencv-python", "numpy", ], "windows": [ "psutil", "requests", "Pillow", "opencv-python", "numpy", "pyautogui", "pyperclip", "screeninfo", "pywin32", "wmi", "pycaw", "comtypes", "win10toast", ], "dev": [ "pytest", "pytest-cov", ], }, classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: POSIX :: Linux", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Hardware", ], )