From 9639ae4d7e36bad57c73f3ace060ebc8c2f24091 Mon Sep 17 00:00:00 2001 From: Pavel savchenko Date: Wed, 21 Feb 2024 10:24:40 +0000 Subject: [PATCH] chore: remove unnecessary license clause Setting this field makes the entire GPLv2 license text appear when viewing the package metadata e.g with `pip show flake8-builtins`. I feel this is a bit too verbose, and unnecessary. As described in the [python packaging guide] it is not necessary to specify this field when using a standard license. Actually this might be more confusing to users, as they may avoid the package if a modified license is implied: > If you are using a standard, well-known license, it is not necessary > to use this field. Instead, you should one of the classifiers starting > with License ::. (As a general rule, it is a good idea to use a > standard, well-known license, both to avoid confusion and because some > organizations avoid software whose license is unapproved.) [python packaging guide]: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ad5956b..82b305f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,6 @@ authors = [ ] description = "Check for python builtins being used as variables or parameters" keywords = ["pep8", "flake8", "python", ] -license = {file = "LICENSE"} readme = "README.rst" requires-python = ">=3.8" classifiers = [