File: 0003-Define-build-system-in-pyproject.toml.patch

package info (click to toggle)
django-q 1.3.9-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,188 kB
  • sloc: python: 4,802; makefile: 166; sh: 9
file content (35 lines) | stat: -rw-r--r-- 1,070 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From: Stefano Rivera <stefanor@debian.org>
Date: Wed, 15 Dec 2021 18:34:41 -0400
Subject: Define [build-system] in pyproject.toml

So that tools like build know how to build the package.

Forwarded: https://github.com/Koed00/django-q/pull/637
---
 pyproject.toml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index 9a83e90..07068ac 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