File: 0001-Change-backend-to-setuptools.patch

package info (click to toggle)
audio-visualizer-python 2.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 832 kB
  • sloc: python: 5,773; sh: 15; makefile: 10
file content (55 lines) | stat: -rw-r--r-- 1,434 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
From: "Aeliton G. Silva" <aeliton@aeliton.com>
Date: Wed, 14 Jan 2026 00:39:13 -0300
Subject: [PATCH] Change backend to setuptools

---
 pyproject.toml | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index ba96b0e..61d09c7 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [build-system]
-requires = ["uv_build>=0.9.23,<0.10.0"]
-build-backend = "uv_build"
+requires = ["setuptools>=61.0"]
+build-backend = "setuptools.build_meta"
 
 [project]
 name = "audio-visualizer-python"
@@ -8,13 +8,6 @@ description = "Create audio visualization videos from a GUI or commandline"
 version = "2.1.2"
 requires-python = ">= 3.12"
 license = "MIT"
-classifiers=[
-  "Development Status :: 4 - Beta",
-  "License :: OSI Approved :: MIT License",
-  "Programming Language :: Python :: 3 :: Only",
-  "Intended Audience :: End Users/Desktop",
-  "Topic :: Multimedia :: Video :: Non-Linear Editor",
-]
 keywords = [
   "visualizer",
   "visualization",
@@ -42,9 +35,6 @@ dev = [
   "pytest-qt",
 ]
 
-[tool.uv.build-backend]
-module-name = "avp"
-
 [external]
 dependencies = ["pkg:generic/ffmpeg"]
 
@@ -53,3 +43,9 @@ repository="https://github.com/djfun/audio-visualizer-python"
 
 [project.scripts]
 avp = "avp.cli:main"
+
+[tool.setuptools.packages.find]
+where = ["src"]
+
+[tool.setuptools.package-data]
+"*" = ["encoder-options.json", "*.ui", "*.png"]