Convert to Python package with setuptools

This commit is contained in:
2025-10-12 12:46:00 +02:00
parent 36604080f1
commit 5c3c4c911b
4 changed files with 129 additions and 7 deletions

29
pyproject.toml Normal file
View File

@@ -0,0 +1,29 @@
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "prolo-tlsa"
version = "0.1.0"
description = "Generate TLSA records from Let's Encrypt certificates and optionally publish to DNS"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.8"
authors = [
{name = "Fabian van Keulen", email = "f@bianvk.nl"},
]
maintainers = [
{name = "Fabian van Keulen", email = "f@bianvk.nl"},
]
dependencies = [
"requests>=2.28.0",
]
keywords = ["dns", "tlsa", "dane", "letsencrypt", "prolocation"]
[project.scripts]
prolo-tlsa = "prolo_tlsa:main"
[project.urls]
Homepage = "https://git.fabianvk.nl/faab/prolo-tlsa"
Repository = "https://git.fabianvk.nl/faab/prolo-tlsa"
Issues = "https://git.fabianvk.nl/faab/prolo-tlsa/issues"