24 lines
773 B
TOML
24 lines
773 B
TOML
[build-system]
|
||
requires = ["setuptools>=61.0", "wheel"]
|
||
build-backend = "setuptools.build_meta"
|
||
|
||
[project]
|
||
name = "jiangchang-desktop-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"]
|