Skip to content
Open
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
9 changes: 9 additions & 0 deletions docs/pyproject.md
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,15 @@ Poetry is clever enough to detect Python subpackages.
Thus, you only have to specify the directory where your root package resides.
{{% /note %}}

{{% warning %}}
If a VCS is being used, files matched by its ignore settings (for example, by
`.gitignore` for Git) are excluded from the built distributions even when their
parent directory is listed under `packages`. This can be surprising if a
Comment thread
sourcery-ai[bot] marked this conversation as resolved.
`packages` entry points at generated code or another path that is intentionally
kept out of version control. To ship such files, add them back via
[`include`]({{< relref "#exclude-and-include" >}}) with an explicit `format`.
{{% /warning %}}

### exclude and include

{{% note %}}
Expand Down
Loading