This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Patch [1/4] Debian-2.0.5-1 python-install.patch

To: Adam Heath <doogie@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Patch [1/4] Debian-2.0.5-1 python-install.patch
From: Kurt Garloff <kurt@xxxxxxxxxx>
Date: Sun, 13 Mar 2005 12:08:47 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 13 Mar 2005 11:10:05 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.58.0503111736000.1757@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Organization: SUSE/Novell
References: <Pine.LNX.4.58.0503111736000.1757@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
Hi Adam,

On Fri, Mar 11, 2005 at 05:36:55PM -0600, Adam Heath wrote:
> Name: python-install.patch
> Description: Use --root instead of --home
>  --home causes python's distutils to install into /usr/lib/python/, while
>  --root causes it to install into /usr/lib/python$ver/site-packages, which
>  is the more correct location.
> Signed-off-by: Adam Heath <doogie@xxxxxxxxxxxxx>
> --- xen-2.0.5.orig/tools/python/Makefile
> +++ xen-2.0.5/tools/python/Makefile
> @@ -5,8 +5,8 @@
>  all:
>       CFLAGS="$(CFLAGS)" python setup.py build
> -install: all
> -     CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr"
> +install: build
> +     CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)"
>  clean:
>       rm -rf build *.pyc *.pyo *.o *.a *~

Thanks, we have the same change in our patchset.
I added --optimize=2 as well. 

Kurt Garloff                   <kurt@xxxxxxxxxx>             [Koeln, DE]
Physics:Plasma modeling <garloff@xxxxxxxxxxxxxxxxxxx> [TU Eindhoven, NL]
Linux: SUSE Labs (Director)    <garloff@xxxxxxx>            [Novell Inc]

Attachment: pgpbVVKGFYKQr.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>