Commit b7bb4ddf by stephsamson Committed by Arun Babu Neelicattu

Add documentation on inline tables in include. Resolves: Core #8.

parent eea86dfe
......@@ -173,6 +173,17 @@ If a VCS is being used for a package, the exclude field will be seeded with the
include = ["CHANGELOG.md"]
```
You can also use inline tables for `include`:
```toml
[tool.poetry]
# ...
include = [
{ path = "tests", format = "sdist" },
{ path = "for_wheel.txt", format = "wheel" }
]
```
```toml
exclude = ["my_package/excluded.py"]
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment