Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions docs/pyproject.md
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,20 @@ based on the `python` requirement, use `project.classifiers` instead of this set

A list of packages and modules to include in the final distribution.

If your project structure differs from the standard one supported by `poetry`,
you can specify the packages you want to include in the final distribution.
If packages are not automatically detected, you can specify the packages you want
to include in the final distribution.

{{% note %}}
Poetry automatically detects a single **module** or **package** whose name matches the
[normalized](https://packaging.python.org/en/latest/specifications/name-normalization/#name-normalization)
project name with `-` replaced with `_`.

The detected module or package must be located either:

- at the same level as the `pyproject.toml` file (flat layout), or
- inside a `src/` directory (src layout).

{{% /note %}}

```toml
[tool.poetry]
Expand Down