Skip to content

Commit

Permalink
pyproject.toml: add includes into wheel
Browse files Browse the repository at this point in the history
After poetry-core update the default of the includes changed so that
they're only in the sdist by default and this breaks our lnst
installation as the schema file is used during runtime.

Signed-off-by: Ondrej Lichtner <[email protected]>
  • Loading branch information
olichtne authored and jtluka committed Jan 6, 2025
1 parent aa190bf commit b4b315e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ packages = [
{ include = "lnst"}
]

include = ["schema-am.rng", "install/*", "lnst-ctl.conf"]
include = [
{ path="schema-am.rng", format=["sdist", "wheel"]},
{ path="install/*", format=["sdist", "wheel"]},
{ path="lnst-ctl.conf", format=["sdist", "wheel"]},
]

[tool.poetry.dependencies]
python = "^3.9"
Expand Down

0 comments on commit b4b315e

Please sign in to comment.