File: changed-build-backend.patch

package info (click to toggle)
sphinx-book-theme 1.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,100 kB
  • sloc: python: 1,302; javascript: 170; makefile: 56; sh: 8
file content (24 lines) | stat: -rw-r--r-- 649 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
From: Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com>
Date: Sun, 17 Nov 2024 00:37:37 -0300
Subject: Changed build backend

Forwarded: not-needed
---
 pyproject.toml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index 290291c..dc9f390 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,8 @@
 [build-system]
-requires = ["sphinx-theme-builder >= 0.2.0a7"]
-build-backend = "sphinx_theme_builder"
+requires = ["setuptools>=42", "wheel"]
+
+[tool.setuptools.dynamic]
+version = {attr = "sphinx_book_theme.__version__"}
 
 [tool.sphinx-theme-builder]
 node-version = "20.9.0"