scikit-build-core icon indicating copy to clipboard operation
scikit-build-core copied to clipboard

Manual excludes with manual includes

Open henryiii opened this issue 1 year ago • 1 comments

I think manual excludes should likely override manual includes? That is, sdist.include = “*” can’t be overridden and includes everything. I think it should only override gitignores and maybe the global ignore list, but not the sdist.exclude list. We should see how it’s being used first.

Supporting an “all” source option also might help if people want to avoid gitignores.

henryiii avatar Aug 13 '24 04:08 henryiii

It is tricky because you can have the opposite as well. There was an idea on PEP639 about allowing gitignore style syntax, specifically the ! operator.

LecrisUT avatar Aug 13 '24 07:08 LecrisUT