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.
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.
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 thesdist.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.