Skip to content

The license field in pyproject.toml is incorrect #298

@abompard

Description

@abompard

According to the documentation, thelicense field in pyproject.toml should be a SPDX license expression, and it's the license-files field that should contain paths to the license files.

In your case it should be:

[project]
license = "BSD-2-Clause"
license-files = ["LICENSE"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions