beeware / briefcase

Tools to support converting a Python project into a standalone native application.
https://briefcase.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
2.48k stars 352 forks source link

Support specifying the license file in the pyproject.toml file #1812

Closed MarieRoald closed 1 month ago

MarieRoald commented 1 month ago

Briefcase can now read the project.license.file-key in the pyproject.toml file. Without this PR, the license file name is hard-coded to "LICENSE". This is relevant for linux builds, where the license file is included in the built package. With this PR, it still defaults to "LICENSE", but if project.license.file is set in pyproject.toml, then that file is used instead.

This is related to the LICENSE file handling in https://github.com/beeware/briefcase/issues/1235

PR Checklist: