blob: 4cfcc6656821753d7f891c4e51fceb20f50cb1b4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Fix pyproject.toml license field format for PEP 621 compliance
#
# The original pyproject.toml uses deprecated license field format:
# license = "BSD-2-Clause"
# license-files = ["LICENSE.txt"]
#
# Modern setuptools (used in pep517 builds) requires PEP 621 compliant format:
# license = {text = "BSD-2-Clause"}
#
# This change enables successful pep517 builds by using the standard license
# object format and removing the conflicting license-files field.
#
--- pyproject.toml.orig 2025-10-04 11:48:10.241408000 -0700
+++ pyproject.toml 2025-10-04 11:48:10.243444000 -0700
@@ -9,8 +9,7 @@
authors = [
{name = "Bas Terwijn", email = "bterwijn@gmail.com"}
]
-license = "BSD-2-Clause"
-license-files = ["LICENSE.txt"]
+license = {text = "BSD-2-Clause"}
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
|