Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update about custom subpackage name in poetry #8791

Merged
merged 5 commits into from
Feb 3, 2024
Merged
Changes from 1 commit
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
Next Next commit
docs: Update about custom subpackage name in poetry
  • Loading branch information
bigstones authored and radoering committed Feb 3, 2024
commit 67034562cf129f7ca6de3168dc80a2663503c07c
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.
radoering marked this conversation as resolved.
Show resolved Hide resolved

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


radoering marked this conversation as resolved.
Show resolved Hide resolved
If you want to restrict a package to a specific build format you can specify
it by using `format`:

Expand Down