From bdcd001ef7798236fe0ff35cef52f34f388bfe68 Mon Sep 17 00:00:00 2001 From: Soispha Date: Tue, 26 Sep 2023 18:44:10 +0200 Subject: [PATCH] fix: Use PEP-517 to specify poetry as build system The repository uses poetry as build system, which in effect breaks the sdist because poetry, by default, will not include the `.sql` files. Fixing that is done by explicitly specifying that poetry should be used. Poetry will then listen to the specified required files and include the `.sql` files. --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 3fe0463..4134aab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,3 +30,7 @@ schemainspect = 'schemainspect:do_command' [tool.isort] profile = "black" + +[build-system] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api"