Skip to content

License missing from pypi metadata #202

@kenmalton

Description

@kenmalton

Hi! We are using this project in a corporate environment and our license scanner has flagged that the license is missing from the pypi metadata.

I think that you need to add these fields to the pyproject.toml file:

[project]
license = "Apache-2.0"
license-files = ["LICENSE"]

https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files

Make sure you that you upload to pypi using an up-to-date version of twine: I've seen it cause problems where an old version of twine strips away new package metadata that it doesn't recognise.

This is a great library, thank you for maintaining it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions