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
|
From: Andreas Metzler <ametzler@debian.org>
Date: Sun, 16 Jun 2024 07:42:40 +0200
Subject: Fix setup.py invocation.
Bug-Debian: https://bugs.debian.org/1039724
Debian's python3-setuptools requires additional options (compared to
distutils which was shipped wwith python < 3.12).
Origin: vendor
Forwarded: not-needed
Last-Update: 2023-10-28
---
lang/python/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
index 68b98e8..0e08c36 100644
--- a/lang/python/Makefile.am
+++ b/lang/python/Makefile.am
@@ -96,7 +96,8 @@ install-exec-local:
build \
--build-base="$$(basename "$${PYTHON}")-gpg" \
install \
- --prefix "$(DESTDIR)$(prefix)" \
+ --install-layout=deb \
+ --root "$(DESTDIR)" \
--verbose ; \
done
|