Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (70 loc) · 2.8 KB
/
Copy pathpyproject.toml
File metadata and controls
81 lines (70 loc) · 2.8 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "octodns-gitops"
dynamic = ["version"]
description = "GitOps tooling for OctoDNS: processors, CLI wrappers, and workflow automation"
readme = "README.md"
license = "GPL-3.0-or-later"
requires-python = ">=3.10"
authors = [{ name = "Serge van Ginderachter", email = "serge@ginsys.eu" }]
keywords = ["dns", "octodns", "gitops", "infrastructure"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: Name Service (DNS)",
"Topic :: System :: Systems Administration",
]
dependencies = [
"octodns>=1.0",
"octodns-hetzner @ git+https://github.com/octodns/octodns-hetzner.git@3e994fc800ea8accd56a6087dd097f190bdfe8f4",
#"octodns-hetzner @ git+https://github.com/ginsys/octodns-hetzner.git@3e994fc800ea8accd56a6087dd097f190bdfe8f4",
"octodns-desec==1.3.0",
"pyyaml>=6.0",
"tabulate>=0.9",
"dnspython>=2.0",
"ovh>=1.1",
]
[project.urls]
Homepage = "https://github.com/ginsys/octodns-gitops"
Repository = "https://github.com/ginsys/octodns-gitops"
Issues = "https://github.com/ginsys/octodns-gitops/issues"
[project.scripts]
octodns-gitops-validate = "octodns_gitops.cli.validate:main"
octodns-gitops-sync = "octodns_gitops.cli.sync:main"
octodns-gitops-drift = "octodns_gitops.cli.drift:main"
octodns-gitops-report = "octodns_gitops.cli.report:main"
octodns-gitops-init = "octodns_gitops.bootstrap.makefile:main"
octodns-gitops-delegate = "octodns_gitops.cli.delegate:main"
octodns-gitops-dnssec = "octodns_gitops.cli.dnssec:main"
octodns-gitops-ovh-token = "octodns_gitops.cli.ovh_token:main"
octodns-gitops-forwardemail = "octodns_gitops.cli.forward_email:main"
[tool.hatch.version]
# Version is derived from git tags (CalVer YYMM.N, e.g. 2606.1). Untagged
# commits resolve to e.g. 2606.2.devN+g<sha>.
source = "vcs"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/octodns_gitops"]
[tool.hatch.build.targets.sdist]
include = ["/src", "/templates", "/README.md", "/LICENSE", "/NOTICE"]
[project.optional-dependencies]
dev = ["pytest>=7.0", "pytest-cov>=4.0"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v --cov=src/octodns_gitops --cov-report=term-missing"
[tool.coverage.run]
source = ["src/octodns_gitops"]
branch = true
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "if __name__ == .__main__.:"]