Skip to content

Fix license_files syntax in setup.cfg (fixes #241) - #244

Open
IM-SAL wants to merge 2 commits into
package-url:mainfrom
IM-SAL:fix-license-metadata
Open

IM-SAL wants to merge 2 commits into
package-url:mainfrom
IM-SAL:fix-license-metadata

Conversation

@IM-SAL

@IM-SAL IM-SAL commented Nov 22, 2026

Copy link
Copy Markdown

Fixes #241

Removed leading dashes from license_files in setup.cfg so setuptools properly populates License-File: in the package metadata (PKG-INFO).

Signed off by : IM-SAL

@mtelka mtelka left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general it looks good, but I noticed that some files here are not license files, for example README.rst or CHANGELOG.rst. If they needs to be distributed (likely so) then they should be listed somewhere else instead.

@IM-SAL

IM-SAL commented Nov 23, 2026

Copy link
Copy Markdown
Author

Thanks for pointing that out, i will remove the other files and update the pr. About the other files, they are already included in manifest.in

Removed extra files from license_files
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.

Add mit.LICENSE to package metadata

2 participants