As long as flit-core ships with a vendored tomli package, I believe this should be modified:
to match the additional licence file under
flit_core/vendor:
|
license-files = ["LICENSE*", "flit_core/vendor/**/LICENSE*"] |
Instead use:
license = "BSD-3-Clause AND MIT"
See also pypa/setuptools#5049.