From 557c9c26fcfa3f96ac8a9df582aa166ab1682574 Mon Sep 17 00:00:00 2001 From: Brian Schubert Date: Wed, 6 Sep 2023 19:29:50 -0400 Subject: [PATCH] Migrate poetry build script configuration to table format --- pyproject.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6721dc9..da1351c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,12 @@ include = [ "src/sixs_bin/sixsV1.1", "src/sixs_bin/sixsV2.1", ] -build = "build.py" + +[tool.poetry.build] +# Note: custom build scripts are currently an undocummented feature of poetry. +# See https://github.com/python-poetry/poetry/issues/2740. +script = "build.py" +generate-setup-file = false [tool.poetry.dependencies] python = "^3.9"