Skip to content

Support file selection like setuptools and hatch #566

@paugier

Description

@paugier

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions