Skip to content

Commit c4cb715

Browse files
committed
Clarify software license
Update `license` package metadata field, per: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files This requires a newer setuptools to parse. Remove license classifiers, as they are forbidden by PEP 639. Fixes #132.
1 parent 86ff6ea commit c4cb715

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[project]
22
name = "django-minio-storage"
33
description = "Django file storage using the minio python client"
4-
license = {file = "LICENSE"}
4+
license = "MIT OR Apache-2.0"
5+
license-files = ["LICENSE", "LICENSE-APACHE"]
56
requires-python = ">=3.9"
67
dependencies = [
78
"django>=4.2",
@@ -11,7 +12,6 @@ classifiers=[
1112
"Development Status :: 4 - Beta",
1213
"Environment :: Web Environment",
1314
"Intended Audience :: Developers",
14-
"License :: OSI Approved :: BSD License",
1515
"Operating System :: OS Independent",
1616
"Programming Language :: Python",
1717
"Programming Language :: Python :: 3",
@@ -28,7 +28,7 @@ readme = "README.md"
2828
dynamic = ["version"]
2929

3030
[build-system]
31-
requires = ["setuptools>=62", "setuptools_scm[toml]>=6.2"]
31+
requires = ["setuptools>=77.0.3", "setuptools_scm[toml]>=6.2"]
3232

3333
[project.urls]
3434
Homepage = "https://github.com/py-pa/django-minio-storage"

0 commit comments

Comments
 (0)