Easily support projects using standard licenses to declare as such through metadata. Also support the specification of the license text for tools that need to generate third-party notice files.
Tool | License type | License file |
---|---|---|
Flit | trove | N |
Setuptools | trove | Y |
Poetry | SPDX | N |
Cargo | SPDX | Y |
npm | SPDX | N |
Preference is for specifying the license via trove classifiers. Support is also allowed
through a free-form license
field which is meant for when a trove classifier doesn't already exist for a license.
There is no support for providing the full license text.
Setuptools support specifying the appropriate trove classifier. It also supports a free-form license
field and a
license_file
field.
Has users specify a license via their SPDX license identifier. The tool then automatically sets the trove classifier.
There appears to be no way to specify the full text of the license.
Supports SPDX 2.1 license expressions in its license
field. The tool also supports a
license-file
field.
Supports SPDX 2.1 license expressions. Users are encouraged to use the phrase "SEE LICENSE IN <filename>"
when the license
is non-standard, but there is no explicit support for full license text from a file.