Skip to content

Commit 7fd9389

Browse files
authored
PEP 639 licenses (#214)
https://peps.python.org/pep-0639/ specifies how licenses are to be documented. The guide here https://packaging.python.org/en/latest/guides/licensing-examples-and-user-scenarios/ is helpful. 1. Switch the 'MIT License' classifier to use 'license = "MIT"' instead. (As in the 'basic example' in the PyPA guide. 2. Bump setuptools version to minimum version with PEP 639 support.
1 parent 271cfdb commit 7fd9389

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
[build-system]
22
build-backend = "setuptools.build_meta"
3-
requires = [
4-
"setuptools>=61",
5-
]
3+
requires = ["setuptools>=77.0.3"]
64

75
[project]
86
name="crispy-bootstrap5"
97
description="Bootstrap5 template pack for django-crispy-forms"
108
readme = "README.md"
11-
license = {text = "MIT"}
9+
license = "MIT"
1210
authors = [{name = "David Smith"}]
1311
requires-python = ">=3.9"
1412
classifiers=[
@@ -19,7 +17,6 @@ classifiers=[
1917
"Framework :: Django :: 5.1",
2018
"Framework :: Django :: 5.2",
2119
"Framework :: Django :: 6.0",
22-
"License :: OSI Approved :: MIT License",
2320
"Operating System :: OS Independent",
2421
"Programming Language :: Python :: 3 :: Only",
2522
"Programming Language :: Python :: 3.9",

0 commit comments

Comments
 (0)