Skip to content

Include license file in built distributions via project.license-files#228

Merged
mosquito merged 1 commit intomosquito:masterfrom
julia-thorn:master
Mar 22, 2026
Merged

Include license file in built distributions via project.license-files#228
mosquito merged 1 commit intomosquito:masterfrom
julia-thorn:master

Conversation

@julia-thorn
Copy link
Copy Markdown
Contributor

@julia-thorn julia-thorn commented Mar 20, 2026

Summary

This PR updates package metadata so aio-pika distributions include an explicit license file reference.

  • adds project.license-files = ["COPYING"] in pyproject.toml

Why

Some compliance tooling (for example, licensee/licensed) needs license text artifacts in package metadata/distributions, not only an SPDX string/classifier.

Currently aiormq declares:

  • license = "Apache-2.0"
  • License :: OSI Approved :: Apache Software License

but built artifacts do not expose license-file metadata/text in a way these tools can consume consistently

This just adds it to the metadata so that tools like licensed can find the text.

@mosquito mosquito self-requested a review March 22, 2026 18:39
@mosquito mosquito merged commit c1ba6e8 into mosquito:master Mar 22, 2026
32 of 37 checks passed
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.

2 participants