docs: 添加 MIT 许可证 + README + setup.py,仓库已开放

- LICENSE: MIT License
- README.md: 完整项目文档 (特性/安装/快速开始/项目结构/设计理念)
- setup.py: 支持 pip install 安装
- 仓库已通过 Gitee API 设为公开
This commit is contained in:
shuiyu1123 committed 2026-06-24 23:01:32 +00:00
1 parent 690022cea3
commit e316e18d98
3 files changed
+249

No files matched your search

+46
View File
@@ -0,0 +1,46 @@
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",
],
)