Skip to content

Add license information to package metadata #5263

Description

@RobbeSneyders

The typeshed packages pushed to Pypi don't have any license information in their metadata (types-pyyaml example).

We automatically check the licenses of all our dependencies, and currently need to add an exception for every typeshed package we use. It would be great if the license information could be added to the package metadata instead.

The fix would be to add the following to the base setup.cfg file.

[metadata]
license = Apache-2.0 license
classifier =
    License :: OSI Approved :: Apache Software License

I looked for the relevant code to submit a PR, but it seems like it's not a part of this repository. If I missed it, or it is available somewhere else, please point me to it and I'll happily submit a PR.

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