-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
43 lines (37 loc) · 1.14 KB
/
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
39
40
41
42
43
[project]
name = "task-keeper"
description = "A cli to manage tasks from different task runners or package managers"
readme = "README.md"
version = "0.1.0"
authors = [
{ name = "linux_china", email = "[email protected]" }
]
license = { text = "Apache License Version 2.0" }
keywords = ["rye", "task-keeper"]
requires-python = ">=3.10"
dependencies = [
"flask~=2.3.1"
]
[project.urls]
homepage = "https://github.com/linux-china/task-keeper"
documentation = "https://github.com/linux-china/task-keeper"
repository = "https://github.com/linux-china/task-keeper"
changelog = "https://github.com/linux-china/task-keeper/blob/master/CHANGELOG.md"
[tool.rye]
managed = true
dev-dependencies = [
"pip~=23.1.2"
]
[tool.rye.scripts]
hello = "python main.py"
serve = "python -m http.server -d docs 8000"
[tool.poetry.scripts]
my_package_cli = 'demo:main'
devtest = { callable = "mypackage:test.run_tests", extras = ["test"] }
[tool.poe.tasks]
test = "pytest --cov=my_app"
serve.script = "my_app.service:run(debug=True)"
build = ["test", "_build"]
[tool.poe.tasks.test-quick]
help = "Run tests excluding those makes as slow."
cmd = "pytest -m \"not slow\""