Skip to content

Commit

Permalink
docs: Update about custom subpackage name (#8791)
Browse files Browse the repository at this point in the history
  • Loading branch information
bigstones authored Feb 3, 2024
1 parent a68aed6 commit 981d411
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/pyproject.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,18 @@ packages = [
]
```

The `to` parameter is designed to specify the relative destination path
where the package will be located upon installation. This allows for
greater control over the organization of packages within your project's structure.

```toml
[tool.poetry]
# ...
packages = [
{ include = "my_package", from = "lib", to = "target_package" },
]
```

If you want to restrict a package to a specific build format you can specify
it by using `format`:

Expand Down

0 comments on commit 981d411

Please sign in to comment.