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] Why do we use /usr/lib/python to install python librarie

To: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Why do we use /usr/lib/python to install python libraries?
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Wed, 14 Jun 2006 06:45:12 -0500
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 14 Jun 2006 04:45:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060614073239.GB5840@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4488CA32.3060806@xxxxxxxxxx> <20060614073239.GB5840@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (X11/20060612)
Ewan Mellor wrote:
On Thu, Jun 08, 2006 at 08:09:06PM -0500, Anthony Liguori wrote:

This seems exceptionally evil and is definitely a PITA. What was the original problem that led us to do this? I'd like to take a stab at correcting it so we can have a more sane installation.

If you're going to fix this, then great.  Perhaps you could make it:

I would love to, if patches are willing to be taken.

a) use the proper Python distutils if installed;

I think we already are aren't we? I thought the crux of the problem was that people are relying on having a deterministic install path so that it can be deployed on many machines (regardless of Python version). We would have to break this "feature". I'm happy to do that of course :-)

Regards,

Anthony Liguori

b) fall back to using /usr/lib{,64}/python if distutils is not installed
   (though I can't imagine that there are many systems that are shipping with
   Python but without distutils, and you do need Python to run Xend, after
   all);

c) make sure that we actually do install into /usr/lib64 on appropriate
   systems.  This is a current bug, though I've no idea when it got
   introduced.  We need to install into /usr/lib64 because xc.so and xs.so are
   compiled native code.

Thanks Anthony,

Ewan.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel