Changed:
- The
packages
option uses the newonly-include
option to provide targeted inclusion, since that is desired most of the time. You can retain the old behavior by using theinclude
andsources
options together.
Added:
- Support PEP 561 type hinting
- Add
version
build hook - Add
only-include
option - The
editable
version ofwheel
targets now respects theforce-include
option by default - The
force-include
option now supports path rewriting with thesources
option - The
wheel
targetshared-data
andextra-metadata
options now respect file selection options - The
wheel
target now auto-detects single module layouts - Improve performance by never entering directories that are guaranteed to be undesirable like
__pycache__
rather than excluding individual files within - Update SPDX license information to version 3.17
Fixed:
- Don't write empty entry points file for
wheel
targets if there are no entry points defined - Allow metadata hooks to set the
version
in all cases - Prevent duplicate file entries from inclusion when using the
force-include
option