Skip to content

Document automatic addition of LICENSE files in built packages #8553

@asikeero

Description

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

Issue

When building a project with poetry build, if one has a LICENSE file defined in the root of the project, this file will be included in the package.

I could not find this behaviour documented anywhere. I believe it would be worth mentioning that:

  1. This behaviour exists
  2. It only works for a file named as LICENSE* in the root folder

To me, the place in the docs I would expect this information to be is either in describing the fields license or include in the pyproject.toml or in the section talking about packaging.

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