Explain the elaborate include path for docs in pyproject.toml
While it's still fresh in my mind as to why I wrote it like this, comment to the effect so I'm not surprised by it in the future, or so someone else reading it can know what the thinking was here.
This commit is contained in:
parent
fbdbd8928d
commit
35be18f0e6
1 changed files with 7 additions and 2 deletions
|
|
@ -24,8 +24,13 @@ classifiers = [
|
|||
include = [
|
||||
"src/textual/py.typed",
|
||||
{ path = "docs/examples", format = "sdist" },
|
||||
{ path = "docs-offline/**/*", format = "sdist" },
|
||||
{ path = "tests", format = "sdist" }
|
||||
{ path = "tests", format = "sdist" },
|
||||
# The reason for the slightly convoluted path specification here is that
|
||||
# poetry populates the exclude list with the content of .gitignore, and
|
||||
# it also seems like exclude tumps include. So here we specify that we
|
||||
# want to package up the content of the docs-offline directory in a way
|
||||
# that works around that.
|
||||
{ path = "docs-offline/**/*", format = "sdist" }
|
||||
]
|
||||
|
||||
[tool.poetry.scripts]
|
||||
|
|
|
|||
Loading…
Reference in a new issue