- LICENSE: MIT License - README.md: 完整项目文档 (特性/安装/快速开始/项目结构/设计理念) - setup.py: 支持 pip install 安装 - 仓库已通过 Gitee API 设为公开
47 lines
1.5 KiB
Python
47 lines
1.5 KiB
Python
from setuptools import setup, find_packages
|
|
|
|
setup(
|
|
name="android-pyapi",
|
|
version="1.0.0",
|
|
description="Android API for Python — 在桌面/Linux 上原生运行 Android API",
|
|
long_description=open("README.md").read(),
|
|
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",
|
|
],
|
|
"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",
|
|
],
|
|
)
|