From b4b315e451b37353292e09869d2279c4a6e566a3 Mon Sep 17 00:00:00 2001 From: Ondrej Lichtner Date: Mon, 6 Jan 2025 16:59:40 +0100 Subject: [PATCH] pyproject.toml: add includes into wheel 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 --- pyproject.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e393a44b7..7993335b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"