Replies: 4 comments 5 replies
-
meson-python uses |
Beta Was this translation helpful? Give feedback.
-
Thanks for this partial solution! Does meson-Python officially support only Git repositories? What about other cases? See mesonbuild/meson#12796 |
Beta Was this translation helpful? Give feedback.
-
This is not a partial solution: it is the only solution there is. meson-python uses I think the equivalent of
in it. |
Beta Was this translation helpful? Give feedback.
-
I'd just also like to note that hatch's approach to selecting files for inclusion/exclusion in an sdist / wheel uses the This is why meson didn't select such an approach, and never will. |
Beta Was this translation helpful? Give feedback.
-
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 ?
Beta Was this translation helpful? Give feedback.
All reactions