From 832ab357d18f30fbcf89456e677d6b746854bb5f Mon Sep 17 00:00:00 2001 From: Backbone Authors Date: Mon, 15 Jul 2024 20:53:58 +0200 Subject: [PATCH] Fixing poetry build --- pyproject.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 33bd9c4..4aefc39 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,6 @@ authors = ["Phil Demetriou "] readme = "README.md" license = "BSD-3-Clause" packages = [{ include = "pqcrypto" }] -build = "extend.py" include = ["algorithms.py", "compile.py", "extend.py", "sources/**/*", "LICENSE"] repository = "https://github.com/kpdemetriou/pqcrypto" classifiers = [ @@ -32,5 +31,9 @@ cffi = "^1.14.2" pytest = "^6.0.1" [build-system] -requires = ["poetry>=0.12"] +requires = ["poetry-core", "setuptools", "pip"] build-backend = "poetry.masonry.api" + +[tool.poetry.build] +script = "extend.py" +generate-setup-file = true