[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "libknot"
version = "@PACKAGE_VERSION@"
description = "Python bindings for libknot"
readme = "README.md"
requires-python = ">=3.5"
license = { text = "GPL-2.0-or-later" }
authors = [
    { name = "CZ.NIC, z.s.p.o.", email = "knot-dns@labs.nic.cz" },
]
classifiers = [
    "Development Status :: 5 - Production/Stable",
    "Programming Language :: Python :: 3",
    "Topic :: Internet :: Name Service (DNS)",
    "Topic :: Software Development :: Libraries",
    "Topic :: System :: Systems Administration",
]

[project.urls]
Documentation = "https://www.knot-dns.cz/documentation"
Issues = "https://gitlab.nic.cz/knot/knot-dns/-/issues"
Source = "https://gitlab.nic.cz/knot/knot-dns/-/tree/master/python/libknot"

[tool.hatch.build]
# don't filter by .gitignore
ignore-vcs = true
exclude = [
    ".*",
    "*.in",
    "Makefile*",
]
