Include license file in built distributions#27783
Include license file in built distributions#27783julia-thorn wants to merge 4 commits intomicrosoft:mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Adds explicit license_files to the Python package build metadata so wheel/sdist metadata includes License-File entries for compliance tooling.
Changes:
- Declare
license_filesinsetup.pyto emitLicense-Filemetadata entries. - Include both the main license text and third-party notices in the declared license file set.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@julia-thorn please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot open a new pull request to apply changes based on the comments in this thread |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Description
Add explicit license_files to Python package build metadata so wheels/sdists expose standard License-File entries.
Motivation and Context
Downstream compliance tooling may fail to discover license text when only SPDX/classifier metadata is present and License-File fields are missing, even if license files are included in the wheel.