-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
38 lines (34 loc) · 837 Bytes
/
pyproject.toml
File metadata and controls
38 lines (34 loc) · 837 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "mozzo"
version = "0.11.0"
description = "A command-line assistant for acknowledging and managing Nagios Core alerts."
readme = "README.md"
requires-python = ">=3.6"
license = {file = "LICENSE"}
authors = [
{name = "Will Foster", email = "wfoster@pm.me"}
]
dependencies = [
"requests",
"PyYAML"
]
[project.scripts]
mozzo = "mozzo.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
# --- Semantic Release Configuration ---
[tool.semantic_release]
version_variables = [
"src/mozzo/__init__.py:__version__"
]
version_toml = [
"pyproject.toml:project.version"
]
branch = "main"
upload_to_pypi = true
upload_to_release = true
build_command = "pip install build && python -m build"
commit_parser = "angular"