Skip to content

Add OSI approved license classifier to pyproject.toml#55

Open
ianthomas23 wants to merge 1 commit intoipython:mainfrom
ianthomas23:osi-approved-license
Open

Add OSI approved license classifier to pyproject.toml#55
ianthomas23 wants to merge 1 commit intoipython:mainfrom
ianthomas23:osi-approved-license

Conversation

@ianthomas23
Copy link
Collaborator

Add OSI approved license classifier to pyproject.toml. Fixes #53.

As successfully used in contourpy and ipympl.

@Julfried
Copy link

Julfried commented Nov 26, 2025

Actually license classfiers are deprecated. The error is because the license key is used in the wrong way:
https://github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/dist.py#L439-L447

Updating the license keyword should fix it:

license = "BSD"
license-files = ["LICENSE"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New version 2.1 on pypi appears to be missing matplotlib_inline.egg-info

2 participants