From 63a9ae5d8a3af3d8c707187fb7cb55d55533a7df Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 28 Jun 2009 16:26:33 -0400 Subject: [PATCH] dh_auto_install: Pass --install-layout=deb to setup.py to support python 2.6. Closes: #534620 --- debian/changelog | 2 ++ dh_auto_install | 1 + 2 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index a82d4c6..deae621 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ debhelper (7.2.18) UNRELEASED; urgency=low * dh_shlibdeps: Ensure DEBIAN directory exists, as dpkg-shlibdeps prints a confusing warning if it does not. Closes: #534226 + * dh_auto_install: Pass --install-layout=deb to setup.py + to support python 2.6. Closes: #534620 -- Joey Hess Sun, 28 Jun 2009 15:59:11 -0400 diff --git a/dh_auto_install b/dh_auto_install index 264725c..61ed904 100755 --- a/dh_auto_install +++ b/dh_auto_install @@ -87,6 +87,7 @@ elsif (-e "setup.py") { doit("python", "setup.py", "install", "--root=$destdir", "--no-compile", "-O0", + "--install-layout=deb", @{$dh{U_PARAMS}}); } elsif (-e "Build.PL" && -e "Build") { -- 2.39.5