Skip to content

Commit

Permalink
chore: remove unnecessary license clause
Browse files Browse the repository at this point in the history
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
  • Loading branch information
asfaltboy committed Feb 21, 2024
1 parent f57ff16 commit 9639ae4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pyproject.toml
Expand Up @@ -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 = [
Expand Down

0 comments on commit 9639ae4

Please sign in to comment.