WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] debian python-install.patch (3 of 5)

To: "Adam Heath" <doogie@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] debian python-install.patch (3 of 5)
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Sat, 5 Feb 2005 08:41:38 -0000
Cc: <Keir.Fraser@xxxxxxxxxxxx>, <ian.pratt@xxxxxxxxxxxx>
Delivery-date: Sat, 05 Feb 2005 08:42:14 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
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>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcULOqS7UYZrK2OeTpCtHceSOhP0NwAIw31A
Thread-topic: [Xen-devel] debian python-install.patch (3 of 5)
 
> 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.

This was deliberately changed a few weeks back. 

http://xen.bkbits.net:8080/xen-2.0-testing.bk/diffs/tools/python/Makefil
e@xxxx?nav=index.html|src/.|src/tools|src/tools/python|hist/tools/python
/Makefile

When doing a make dist, dist/install/usr/lib/python is probably the best
location to put the packages.

When doing a reall install, /usr/lib/python$ver/site-packages may well
be the right location.

The build system has been messed around with so much I'm not sure its
still possible to tell the difference between the two cases.

Can we at least get agreement on the behaviour we want?

Ian

> Signed-off-by: Adam Heath <doogie@xxxxxxxxxxxxx>
> DiffStat:
>  tools/python/Makefile |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> --- xen-2.0.4.orig/tools/python/Makefile
> +++ xen-2.0.4/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 *~


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel