提交修改

This commit is contained in:
2026-04-22 15:51:37 +08:00
parent 2174b2b573
commit d6ad90a7db
16 changed files with 1384 additions and 358 deletions

View File

@@ -4,10 +4,20 @@ build-backend = "setuptools.build_meta"
[project]
name = "jiangchang-desktop-sdk"
version = "0.1.0"
description = "匠厂桌面应用自动化测试 SDK"
version = "0.4.0"
description = "匠厂桌面应用自动化测试 SDK + 共享 pytest plugin"
requires-python = ">=3.10"
dependencies = ["playwright>=1.42.0"]
[project.optional-dependencies]
testing = ["pytest>=7.0"]
# 让 pytest 在 pip install 后自动发现并加载 jiangchang_desktop_sdk.testing.plugin。
# 未 pip install 时(开发态 sys.path 注入skill 的 conftest 可改用
# pytest_plugins = ["jiangchang_desktop_sdk.testing.plugin"]
# 二者等价。
[project.entry-points.pytest11]
jiangchang_desktop_sdk_testing = "jiangchang_desktop_sdk.testing.plugin"
[tool.setuptools.packages.find]
where = ["src"]