Skip to content

Commit c6ed796

Browse files
authored
Fix #278: Follow PEP 639: use SPDX-expression for license
* PEP 639: use SPDX-expression for license * remove license classifier * require setuptools >= 77, see pypa/setuptools#4706
1 parent 6d5cc6c commit c6ed796

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[build-system]
22
build-backend = "setuptools.build_meta"
3-
requires = [ "setuptools>=61.2" ]
3+
requires = [ "setuptools>=77" ]
44

55
[project]
66
name = "django-csp"
77
version = "4.0"
88
description = "Django Content Security Policy support."
99
readme = "README.rst"
10-
license = { text = "BSD" }
10+
license = "BSD-3-Clause"
1111
maintainers = [
1212
{ name = "Mozilla MEAO team", email = "[email protected]" },
1313
]
@@ -21,7 +21,6 @@ classifiers = [
2121
"Framework :: Django :: 5.1",
2222
"Framework :: Django :: 5.2",
2323
"Intended Audience :: Developers",
24-
"License :: OSI Approved :: BSD License",
2524
"Operating System :: OS Independent",
2625
"Programming Language :: Python",
2726
"Programming Language :: Python :: 3 :: Only",

0 commit comments

Comments
 (0)