|
1 | | -[tool.poetry] |
| 1 | +[project] |
2 | 2 | name = "onekey_client" |
3 | 3 | version = "2.3.0" |
4 | 4 | description = "ONEKEY API client" |
5 | | -homepage = "https://www.onekey.com/" |
6 | | -authors = ["ONEKEY <support@onekey.com>"] |
7 | | -license = "MIT" |
| 5 | +authors = [{ name = "ONEKEY", email = "support@onekey.com" }] |
| 6 | +requires-python = ">=3.9" |
8 | 7 | readme = "README.md" |
| 8 | +license = "MIT" |
9 | 9 | keywords = ["iot", "security", "firmware", "analysis"] |
10 | 10 | classifiers = [ |
11 | | - "Development Status :: 4 - Beta", |
12 | | - "Environment :: Console", |
13 | | - "License :: OSI Approved :: MIT License", |
14 | | - "Operating System :: OS Independent", |
15 | | - "Programming Language :: Python :: 3 :: Only", |
16 | | - "Topic :: Security"] |
| 11 | + "Development Status :: 4 - Beta", |
| 12 | + "Environment :: Console", |
| 13 | + "License :: OSI Approved :: MIT License", |
| 14 | + "Operating System :: OS Independent", |
| 15 | + "Programming Language :: Python :: 3 :: Only", |
| 16 | + "Topic :: Security", |
| 17 | +] |
| 18 | +dependencies = [ |
| 19 | + "httpx==0.28.1", |
| 20 | + "pydantic==2.10.6", |
| 21 | + "Authlib>=1.4.1,<2.0.0", |
| 22 | + "importlib-resources>=6.0.0,<7", |
| 23 | + "click>=8.1.3,<9", |
| 24 | + "junit-xml>=1.9,<2", |
| 25 | +] |
17 | 26 |
|
18 | | -[tool.poetry.urls] |
19 | | -"GitHub" = "https://github.com/onekey-sec/python-client" |
| 27 | +[project.urls] |
| 28 | +Homepage = "https://www.onekey.com/" |
| 29 | +GitHub = "https://github.com/onekey-sec/python-client" |
20 | 30 | "Bug Tracker" = "https://github.com/onekey-sec/python-client/issues" |
21 | 31 |
|
22 | | -[tool.poetry.dependencies] |
23 | | -python = "^3.9.0" |
24 | | -httpx = "0.28.1" |
25 | | -pydantic = "2.10.6" |
26 | | -Authlib = ">=1.4.1,<2.0.0" |
27 | | -importlib-resources = "^6.0.0" |
28 | | -click = "^8.1.3" |
29 | | -junit-xml = "^1.9" |
| 32 | +[project.scripts] |
| 33 | +onekey = "onekey_client.cli.cli:main" |
30 | 34 |
|
31 | | -[tool.poetry.dev-dependencies] |
32 | | -black = "^25.0.0" |
| 35 | +[dependency-groups] |
| 36 | +dev = ["ruff==0.14.9"] |
33 | 37 |
|
34 | 38 | [build-system] |
35 | | -requires = ["poetry-core>=1.0.0"] |
36 | | -build-backend = "poetry.core.masonry.api" |
37 | | - |
38 | | -[tool.poetry.scripts] |
39 | | -onekey = "onekey_client.cli.cli:main" |
| 39 | +requires = ["hatchling"] |
| 40 | +build-backend = "hatchling.build" |
0 commit comments