From: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com> Date: Mon, 27 Oct 2025 14:45:14 +0000 (+0100) Subject: 🔧 Add `license` and `license-files` to `pyproject.toml`, remove `License` from `class... X-Git-Tag: 0.120.1~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=96dd32718b36155e221e96a3025f71d654d5031a;p=thirdparty%2Ffastapi%2Ffastapi.git 🔧 Add `license` and `license-files` to `pyproject.toml`, remove `License` from `classifiers` (#14230) --- diff --git a/pyproject.toml b/pyproject.toml index 875e4bed1..2087d7d04 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,6 +7,8 @@ name = "fastapi" dynamic = ["version"] description = "FastAPI framework, high performance, easy to learn, fast to code, ready for production" readme = "README.md" +license = "MIT" +license-files = ["LICENSE"] requires-python = ">=3.8" authors = [ { name = "Sebastián Ramírez", email = "tiangolo@gmail.com" }, @@ -31,7 +33,6 @@ classifiers = [ "Framework :: Pydantic :: 1", "Framework :: Pydantic :: 2", "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9",