-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
40 lines (33 loc) · 975 Bytes
/
pyproject.toml
File metadata and controls
40 lines (33 loc) · 975 Bytes
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
[project]
name = "ignity"
version = "0.1.0"
description = "Dead simple process supervision for containers based on s6"
readme = "README.md"
requires-python = ">=3.13"
dependencies = []
[dependency-groups]
dev = [
"pre-commit>=4.6.0",
"poethepoet>=0.46.0",
"pytest>=9.0.3",
]
[tool.uv]
package = false
[tool.poe.tasks."env:configure"]
help = "Setup project environment"
cmd = "pre-commit install"
[tool.poe.tasks."test"]
help = "Run all tests."
cmd = "pytest tests"
[tool.poe.tasks.package]
help = "Package source into dist/ignity.tar.gz"
sequence = [
{ shell = "rm -rf dist && mkdir -p dist" },
{ cmd = "tar zcvf dist/ignity.tar.gz -C src/ ." },
]
[tool.poe.tasks."project:check"]
help = "Check for s6 ecosystem package updates without applying"
script = "scripts.project:upgrade(dry_run=True)"
[tool.poe.tasks."project:upgrade"]
help = "Upgrade s6 ecosystem package versions in install-ignity.sh"
script = "scripts.project:upgrade(dry_run=False)"