-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (52 loc) · 1.73 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (52 loc) · 1.73 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[project]
name = "ksproject"
version = "0.0.2"
description = "Compile python apps for Android and iOS."
readme = "README.md"
authors = [
{ name = "kivyschool" }
]
urls = { "Homepage" = "https://kivy-school.github.io/ksproject" }
requires-python = ">=3.13"
dependencies = [
"toml>=0.10.2",
"pyyaml>=6.0",
"ksp-bootstraps<0.2.0",
]
[project.scripts]
ksproject = "ksproject:main"
[tool.uv.build-backend]
module-name = [
"ksproject",
"ksproject_utils"
]
# Provide metadata for the studio git dependency so uv does NOT download/build it
# during universal resolution (uv lock resolves all extras/groups). Without this,
# every `uv sync` and test run tries to build ksproject-studio. It is only actually
# fetched/built when the `studio` extra is explicitly installed (`ksproject[studio]`).
[[tool.uv.dependency-metadata]]
name = "ksproject-studio"
version = "0.0.1"
[tool.uv.sources]
ksproject-studio = { git = "http://github.com/kivy-school/ksproject-studio" }
#ksp-bootstraps = { git = "https://github.com/kivy-school/ksp-bootstraps", branch = "optimize" }
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-mock>=3.12",
"pytest-xdist>=3.5",
]
[tool.pytest.ini_options]
minversion = "8.0"
testpaths = ["tests"]
addopts = "-ra --strict-markers"
markers = [
"slow: marks tests as slow / heavy (real builds, emulator, simulator)",
"android: marks tests that exercise the Android/gradle pipeline",
"apple: marks tests that exercise the Apple/Xcode pipeline",
"emulator: marks tests that require booting an Android emulator (set KSPROJECT_RUN_EMULATOR=1)",
"simulator: marks tests that require the iOS Simulator (macOS only)",
]
[build-system]
requires = ["uv_build>=0.11.3,<0.12.0"]
build-backend = "uv_build"