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

feat: force-include

Open henryiii opened this issue 1 year ago • 1 comments

We should support hatchling-style force-includes. See #669.

henryiii avatar Jun 24 '24 15:06 henryiii

I've played with this and I think it's going to be harder than I expected. I think we really need a set of three paths each, something like:

[[tool.scikit-build.force-include]]
source = "../other-folder"
sdist = "src/other-folder"
wheel = "other-folder"

We need a place to copy it into the SDist, and a place to copy it in the wheel.

In light of that, I might revisit the original table suggestion as a simpler intermediate option.

henryiii avatar Aug 01 '24 03:08 henryiii