Commit 28f434b8 by stephsamson Committed by Arun Babu Neelicattu

Per comments.

parent b7bb4ddf
...@@ -173,14 +173,14 @@ If a VCS is being used for a package, the exclude field will be seeded with the ...@@ -173,14 +173,14 @@ If a VCS is being used for a package, the exclude field will be seeded with the
include = ["CHANGELOG.md"] include = ["CHANGELOG.md"]
``` ```
You can also use inline tables for `include`: You can also specify the formats for which these patterns have to be included, as shown here:
```toml ```toml
[tool.poetry] [tool.poetry]
# ... # ...
include = [ include = [
{ path = "tests", format = "sdist" }, { path = "tests", format = "sdist" },
{ path = "for_wheel.txt", format = "wheel" } { path = "for_wheel.txt", format = ["sdist", "wheel"] }
] ]
``` ```
......
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