|
1 | 1 | [build-system] |
2 | | -requires = [ "poetry-core>=1.0.0",] |
3 | | -build-backend = "poetry.core.masonry.api" |
| 2 | +requires = ["hatchling"] |
| 3 | +build-backend = "hatchling.build" |
4 | 4 |
|
5 | | -[tool.poetry] |
| 5 | +[project] |
6 | 6 | name = "stacklet.client.platform" |
7 | 7 | version = "0.1.6" |
8 | 8 | description = "Stacklet Platform Client" |
| 9 | +authors = [{ name = "Sonny Shi", email = "sonny@stacklet.io" }] |
| 10 | +requires-python = ">=3.9,<=3.13" |
9 | 11 | readme = "README.md" |
10 | | -authors = ["Sonny Shi <sonny@stacklet.io>"] |
11 | | -maintainers = ["Stacklet <hello@stacklet.io>"] |
12 | 12 | license = "Apache-2.0" |
13 | | -include = [ "stacklet/client/platform/vendored/auth_landing_pages/ok.html", "stacklet/client/platform/vendored/auth_landing_pages/fail.html",] |
14 | | -[[tool.poetry.packages]] |
15 | | -include = "stacklet" |
| 13 | +maintainers = [{ name = "Stacklet", email = "hello@stacklet.io" }] |
| 14 | +dependencies = [ |
| 15 | + "click>=8.0.1,<9", |
| 16 | + "requests>=2.32.4,<3", |
| 17 | + "jsonschema>=4.9.0,<5", |
| 18 | + "PyYAML~=6.0", |
| 19 | + "PyJWT>=2.4.0,<3", |
| 20 | + "boto3>=1.39.16,<2", |
| 21 | + "charset_normalizer>=3.4.2,<4", |
| 22 | + "jmespath>=1.0.1,<2", |
| 23 | +] |
16 | 24 |
|
17 | | -[tool.poetry.scripts] |
| 25 | +[project.scripts] |
18 | 26 | stacklet-admin = "stacklet.client.platform.cli:cli" |
19 | 27 |
|
20 | | -[tool.poetry.dependencies] |
21 | | -python = "^3.9" |
22 | | -click = "^8.0.1" |
23 | | -requests = "^2.32.4" |
24 | | -jsonschema = "^4.9.0" |
25 | | -PyYAML = "^6.0" |
26 | | -PyJWT = "^2.4.0" |
27 | | -boto3 = "^1.39.16" |
28 | | -charset_normalizer = "^3.4.2" |
29 | | -jmespath = "^1.0.1" |
30 | | - |
31 | | -[tool.poetry.group.dev.dependencies] |
32 | | -ruff = "^0.12.7" |
33 | | -moto = { version = "^5.1.9", extras = ["cognitoidp"] } |
34 | | -pytest = "^8.4" |
35 | | -pytest-cov = "^6.2.1" |
36 | | -requests-mock = "^1.8.0" |
37 | | -pre-commit = "^2.12.0" |
38 | | -Nuitka = "^2.7.12" |
39 | | -semver = "^2.13.0" |
40 | | -toml = "^0.10.2" |
41 | | -deptry = "^0.23.1" |
| 28 | +[dependency-groups] |
| 29 | +dev = [ |
| 30 | + "ruff>=0.12.7,<0.13", |
| 31 | + "moto[cognitoidp]>=5.1.9,<6", |
| 32 | + "pytest~=8.4", |
| 33 | + "pytest-cov>=6.2.1,<7", |
| 34 | + "requests-mock>=1.8.0,<2", |
| 35 | + "pre-commit>=2.12.0,<3", |
| 36 | + "Nuitka>=2.7.12,<3", |
| 37 | + "semver>=2.13.0,<3", |
| 38 | + "toml>=0.10.2,<0.11", |
| 39 | + "deptry>=0.23.1,<0.24", |
| 40 | +] |
| 41 | + |
| 42 | +[tool.hatch.build.targets.sdist] |
| 43 | +include = [ |
| 44 | + "stacklet", |
| 45 | + "stacklet/client/platform/vendored/auth_landing_pages/ok.html", |
| 46 | + "stacklet/client/platform/vendored/auth_landing_pages/fail.html", |
| 47 | +] |
| 48 | + |
| 49 | +[tool.hatch.build.targets.wheel] |
| 50 | +include = [ |
| 51 | + "stacklet", |
| 52 | + "stacklet/client/platform/vendored/auth_landing_pages/ok.html", |
| 53 | + "stacklet/client/platform/vendored/auth_landing_pages/fail.html", |
| 54 | +] |
42 | 55 |
|
43 | 56 | [tool.ruff] |
44 | 57 | line-length = 100 |
|
0 commit comments