pypa / hatch

Modern, extensible Python project management
https://hatch.pypa.io/latest/
MIT License
6.1k stars 309 forks source link

Remove redundant licence definition #1662

Closed DimitriPapadopoulos closed 3 months ago

DimitriPapadopoulos commented 3 months ago

Drop the licence key, keep the licence classifier.

From the Python Packaging User Guide:

license

This can take two forms. You can put your license in a file, typically LICENSE or LICENSE.txt, and link that file here:

[project]
license = {file = "LICENSE"}

or you can write the name of the license:

[project]
license = {text = "MIT License"}

If you are using a standard, well-known license, it is not necessary to use this field. Instead, you should use one of the classifiers starting with License ::.