From aa87d32a7ed7154f47c1babf47fc1e936721b014 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Wed, 15 Dec 2021 18:37:18 -0400 Subject: [PATCH] Define [build-system] in pyproject.toml So that tools like build know how to build the package. --- pyproject.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9a83e908..07068ac6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,13 +67,15 @@ pytest-cov = "^2.12.0" black = { version = "^21.5b1", allow-prereleases = true } isort = {extras = ["requirements_deprecated_finder"], version = "^5.8.0"} -[tool.poetry.extras] +[build-system] requires = ["poetry_core>=1.0.0"] -build-backend = ["poetry.core.masonry.api"] +build-backend = "poetry.core.masonry.api" + +[tool.poetry.extras] testing = ["django-redis", "croniter", "hiredis", "psutil", "iron-mq", "boto3", "pymongo"] rollbar = ["django-q-rollbar"] sentry = ["django-q-sentry"] [tool.isort] profile = "black" -multi_line_output = 3 \ No newline at end of file +multi_line_output = 3