1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

[6.0.x] Fixed #35961 -- Migrated license metadata in pyproject.toml to conform PEP 639.

See https://peps.python.org/pep-0639/ and
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files.

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>

Backport of 96a7a65216 from main.
This commit is contained in:
Michiel W. Beijen
2024-12-06 20:54:41 +01:00
committed by Natalia
parent 934c55f1f9
commit d0d2dd7706
2 changed files with 5 additions and 5 deletions

View File

@@ -208,7 +208,7 @@ this. For a small app like polls, this process isn't too difficult.
:caption: ``django-polls/pyproject.toml``
[build-system]
requires = ["setuptools>=69.3"]
requires = ["setuptools>=77.0.3"]
build-backend = "setuptools.build_meta"
[project]
@@ -219,6 +219,7 @@ this. For a small app like polls, this process isn't too difficult.
]
description = "A Django app to conduct web-based polls."
readme = "README.rst"
license = "BSD-3-Clause"
requires-python = ">= 3.12"
authors = [
{name = "Your Name", email = "yourname@example.com"},
@@ -228,7 +229,6 @@ this. For a small app like polls, this process isn't too difficult.
"Framework :: Django",
"Framework :: Django :: X.Y", # Replace "X.Y" as appropriate
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",