Skip to content

Commit e3f28ff

Browse files
committed
Add license-files to pyproject.toml + bump LICENSE year
license-files has been introduced with 77.0.0 (https://setuptools.pypa.io/en/latest/history.html#v77-0-0), so let's also bump the required version. It also use the new syntax for license.
1 parent f02c020 commit e3f28ff

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 moi15moi
3+
Copyright (c) 2025 moi15moi
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ description = "Find the system fonts filename."
44
authors = [
55
{ name = "moi15moi", email = "moi15moismokerlolilol@gmail.com" },
66
]
7-
license = { text = "MIT" }
7+
license = "MIT"
8+
license-files = ["LICENSE"]
89
readme = "README.md"
910
requires-python = ">=3.9"
1011
dependencies = [
@@ -25,7 +26,6 @@ classifiers=[
2526
"Operating System :: MacOS",
2627
"Operating System :: Microsoft :: Windows",
2728
"Operating System :: Unix",
28-
"License :: OSI Approved :: MIT License",
2929
]
3030
dynamic = ["version"]
3131

@@ -40,7 +40,7 @@ dev = [
4040
]
4141

4242
[build-system]
43-
requires = ["setuptools"]
43+
requires = ["setuptools>=77.0.0"]
4444
build-backend = "setuptools.build_meta"
4545

4646
[tool.setuptools.dynamic]

0 commit comments

Comments
 (0)