-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
76 lines (63 loc) · 1.62 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "homf"
dynamic = ["version"]
authors = [
{name = "Ellen Marie Dash", email = "[email protected]"},
]
description = "Download artifacts from various sources. E.g., a ZipApp from GitHub Releases."
readme = "README.md"
license = {text = "MIT"}
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"packaging~=23.2",
]
requires-python = ">= 3.8"
[project.urls]
repository = "https://github.com/duckinator/homf"
documentation = "https://homf.readthedocs.io/en/latest/"
[project.optional-dependencies]
lint = [
"pylint==3.0.1",
]
test = [
"pytest==7.4.2",
]
docs = [
"sphinx",
"sphinx-rtd-theme",
"sphinx-argparse",
]
[project.scripts]
homf = "homf.cli:main"
[tool.hatch.version]
path = "homf/version.py"
[tool.bork.zipapp]
enabled = true
main = "homf.cli:main"
[tool.bork.release]
pypi = true
github = true
github_repository = "duckinator/homf"
strip_zipapp_version = true
[tool.bork.aliases]
lint = "pylint homf tests"
# Runs all tests.
test = "pytest --junitxml=homf-junit.xml --verbose"
# Runs fast tests.
test-fast = "pytest --verbose -m 'not slow'"
# Runs slow tests.
test-slow = "pytest --verbose -m slow"
# Build docs locally.
docs = "sphinx-build -b html -d docs/build/doctrees docs/source/ docs/build/"
docs-clean = "rm -rf docs/build/"