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 authored and radoering committed Feb 3, 2024
1 parent a68aed6 commit 6703456
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 6703456

Please sign in to comment.