Skip to content

include = [ { path = "...", format = "..." } ] feature not documented #3823

@jwodder

Description

@jwodder
  • I have searched the issues of this repo and believe that this is not a duplicate.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/docsDocumentation issues/improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions