Issue
Poetry supports including files in only the sdist or wheel by writing:
[tool.poetry]
include = [
{ path = "filename", format = "sdist" } # or `format = "wheel"`
]
However, this feature is not documented in the section on "include and exclude" in pyproject.toml (or, seemingly, anywhere else).