fix: 修复 Windows 兼容性问题
- 修复 setup.py 中 README.md 读取的编码问题 (UTF-8) - 修复 system.py 中 errno 常量在 Windows 上不存在的问题 - 使用 getattr 安全获取平台特定的 errno 常量 - 测试全部通过 (24/24 能力可用)
This commit is contained in:
1 parent
0f9b6fcc5d
commit
b3d75f8cc2
8 files changed
+708
-38
No files matched your search
@@ -1,10 +1,13 @@
|
||||
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=open("README.md").read(),
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
license="MIT",
|
||||
author="shuiyu1123",
|
||||
|
||||
Reference in new issue
Block a user