Use license expression for project metadata

pull/797/head
Marc Mueller 2025-04-12 12:26:42 +02:00
rodzic a3ec07859e
commit f6b8e3b3aa
2 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -7,6 +7,7 @@ Changelog
Minor changes:
- Use ``ruff`` to format the source code.
- Update project metadata to use License-Expression.
Breaking changes:

Wyświetl plik

@ -6,13 +6,13 @@
#
[build-system]
requires = ["hatchling", "hatch-vcs"]
requires = ["hatchling>=1.27.0", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "icalendar"
license = { file = "LICENSE.rst", name = "BSD-2-Clause" }
# name = "BSD-2-Clause", # TODO: is this the right short key
license = "BSD-2-Clause"
license-files = ["LICENSE.rst"]
keywords = [
"calendar",
"calendaring",