-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
pyproject.toml
38 lines (32 loc) · 952 Bytes
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[tool.poetry]
name = "uiautomator2"
version = "3.2.0"
description = "uiautomator for android device"
homepage = "https://github.com/openatx/uiautomator2"
authors = ["codeskyblue <[email protected]>"]
license = "MIT"
readme = "README.md"
include = ["*/assets/*"]
[tool.poetry.dependencies]
python = "^3.8"
requests = "*"
lxml = "*"
adbutils = "^2.5.0"
retry = ">=0,<1"
Pillow = "*"
[tool.poetry.group.dev.dependencies]
pytest = "^8.1.1"
isort = "^5.13.2"
pytest-cov = "^4.1.0"
ipython = "*"
coverage = "^7.6.0"
[tool.poetry.scripts]
uiautomator2 = "uiautomator2.__main__:main"
[tool.poetry-dynamic-versioning] # 根据tag来动态配置版本号
enable = true
pattern = "^((?P<epoch>\\d+)!)?(?P<base>\\d+(\\.\\d+)*)"
[tool.poetry-dynamic-versioning.substitution]
files = ["uiautomator2/version.py"]
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"