-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
What's the problem this feature will solve?
License files are only included in the source distribution if they are specified in either license_file
, license_files
or MANIFEST.in
. wheel
automatically adds a few common glob patterns if the license_files
option isn't specified. https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file
The result is a situation where a license file is included in the wheel, but not in the source distribution.
Describe the solution you'd like
Match the behavior of wheel
and include the most common glob patterns automatically if neither license_file
nor license_files
is specified.
Alternative Solutions
--
Additional context
PR that originally added support for license_files
: #1767
Commit that added glob patterns in wheel
: pypa/wheel@59976ab
Code of Conduct
- I agree to follow the PSF Code of Conduct