Skip to content

"Poetry build", unable to include "build/" directory #9840

Answered by radoering
cpolzer asked this question in General
Discussion options

You must be logged in to vote

On a second glance, I see your example:

packages = [
    { include = "source/", format = ["sdist", "wheel"], to = "poetry-sphinx-example" },
    # This is a hack to include the _build directory in the package: see the `build` task below
    { include = "_build/", format = ["sdist", "wheel"], to = "poetry-sphinx-example" },
]

Unfortunately, to is only supported in packages and not in include. I think you have already found the best workaround.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@radoering
Comment options

Answer selected by cpolzer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants