Skip to content

Commit f246db7

Browse files
committed
fix: use older-style license format for twine compatibility
Use {text = "MIT"} format instead of plain string to avoid PEP 639 metadata (license-expression, license-file) that older twine versions don't recognize. Also add License classifier for better compatibility.
1 parent fb7c0b6 commit f246db7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ name = "hexhamming"
77
version = "2.2.3"
88
description = "Fast Hamming distance calculation for hexadecimal strings"
99
readme = "README.rst"
10-
license = "MIT"
10+
license = {text = "MIT"}
1111
authors = [
1212
{ name = "Michael Recachinas", email = "m.recachinas@gmail.com" }
1313
]
1414
keywords = ["hamming", "distance", "simd"]
1515
classifiers = [
16+
"License :: OSI Approved :: MIT License",
1617
"Operating System :: MacOS :: MacOS X",
1718
"Operating System :: POSIX :: Linux",
1819
"Operating System :: Microsoft :: Windows",

0 commit comments

Comments
 (0)