If I understand correctly, meson-python includes all the files in the sdist and it is not possible to exclude some directories or files.
In contrast, setuptools and Hatch support controlling which files are included in the sdist. For Hatch, there are few related options in the pyproject.toml file: https://hatch.pypa.io/latest/config/build/#file-selection
Would it be possible to at least be able to exclude some files with meson-python ?