Package: debhelper
Version: 7.4.12
Severity: important
Tags: patch

debhelper currently only uses --install-layout=deb when installing for python2.6. The function `install' doesn't use --install-layout=deb, which will install into the wrong site directory when making python2.6 the default. The attached patch unconditionally add this option. maybe you want to add it only when 2.6 or higher is detected as the default python version.

This will become release critical when making python2.6 the default.


--- ./Debian/Debhelper/Buildsystem/python_distutils.pm~ 2009-12-04 20:56:11.000000000 +0100 +++ ./Debian/Debhelper/Buildsystem/python_distutils.pm 2010-02-02 00:30:18.178325993 +0100
@@ -172,6 +172,7 @@
        $this->setup_py("install",
                "--force",
                "--root=$destdir",
+               "--install-layout=deb",
                "--no-compile",
                "-O0",
                @_);



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to