Skip to content

Commit 2c3e8fc

Browse files
committed
Build: Fix build with older (< v77) setuptools versions.
1 parent de4c979 commit 2c3e8fc

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ authors = [
77
maintainers = [
88
{name = "Stefan Behnel", email = "stefan_ml@behnel.de"},
99
]
10-
license = "PSF-2.0"
11-
license-files = ["LICENSE"]
1210
classifiers = [
1311
"Development Status :: 6 - Mature",
1412
"Intended Audience :: Developers",
@@ -21,7 +19,7 @@ classifiers = [
2119
]
2220
requires-python = ">= 3.8"
2321

24-
dynamic = ["version", "readme"]
22+
dynamic = ["version", "readme", "license"]
2523

2624
[project.urls]
2725
Homepage = "https://github.com/scoder/quicktions"

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ def check_limited_api_option(value):
115115
long_description=long_description,
116116
long_description_content_type="text/x-rst",
117117

118+
license="PSF-2.0",
119+
license_files = ["LICENSE"],
120+
118121
ext_modules=ext_modules,
119122
package_dir={'': 'src'},
120123
**extra_setup_args,

0 commit comments

Comments
 (0)