From 7a40b6b85ce7018f0b9415fb4d1164aa6f713e02 Mon Sep 17 00:00:00 2001 From: Anderson Bravalheri Date: Mon, 17 Nov 2025 17:51:02 +0000 Subject: [PATCH] Avoid stating in metadata that the project as a whole uses MIT Despite the code for `setuptools` itself be distributed under MIT, setuptools includes third-party code with other licenses. Adding `license = "MIT"` to `pyproject.toml` is problematic under the lenses of PEP 639 because it may imply that all the files distributed by setuptools are licensed under MIT which is not the case. By removing that metadata, setuptools should be "in the clear". --- NOTICE | 11 +++++++++++ pyproject.toml | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 NOTICE diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000000..0d707d89ba --- /dev/null +++ b/NOTICE @@ -0,0 +1,11 @@ +This project includes source code from other open-source projects to facilitate +bootstrapping. + +The license information for those projects is distributed by setuptools under +the directories: + + setuptools/_vendor/*.dist-info/ + setuptools/_vendor/*.dist-info/licenses/ + +Please refer to the files in these directories for the complete license texts +and attribution details of the included third-party components. diff --git a/pyproject.toml b/pyproject.toml index 797362dea5..bf963cf9a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ classifiers = [ "Topic :: Utilities", ] requires-python = ">=3.9" -license = "MIT" +# For license information, please check license files included in the distribution. dependencies = [ ] keywords = ["CPAN PyPI distutils eggs package management"]