Skip to content

Commit 6e25ce2

Browse files
Replace license classifier with license expression (#176)
- use metadata 2.4 style While checking the license I noticed that the license is MIT, but the license classifier was set to Apache License. While correcting this, I replaced the license classifier with a license expression as per PEP-639.
1 parent 3419136 commit 6e25ce2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ name = "PyOTP"
33
description = "Python One Time Password Library"
44
readme = "README.rst"
55
requires-python = ">=3.8"
6-
license = { text = "MIT License" }
6+
license = "MIT"
7+
license-files = ["LICENSE"]
78
authors = [{ name = "Andrey Kislyuk"}, {email = "[email protected]" }]
89
maintainers = [{ name = "Andrey Kislyuk"}, {email = "[email protected]" }]
910
dynamic = ["version"]
1011
classifiers = [
1112
"Intended Audience :: Developers",
12-
"License :: OSI Approved :: Apache Software License",
1313
"Operating System :: MacOS :: MacOS X",
1414
"Operating System :: POSIX",
1515
"Programming Language :: Python",

0 commit comments

Comments
 (0)