Skip to content

Commit

Permalink
docs: Update about custom subpackage name in poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
bigstones committed Dec 14, 2023
1 parent 81e76c2 commit 9e135d7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/pyproject.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,17 @@ 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 9e135d7

Please sign in to comment.