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: Anthony Liguori <aliguori@xxxxxxxxxx>
Subject: Re: [Xen-devel] Why do we use /usr/lib/python to install python libraries?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 9 Jun 2006 07:51:07 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Delivery-date: Thu, 08 Jun 2006 23:57:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4488D643.7020207@xxxxxxxxxx>
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> <200606090245.10193.mark.williamson@xxxxxxxxxxxx> <4488D643.7020207@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 9 Jun 2006, at 03:00, Anthony Liguori wrote:

Mark Williamson 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.


I thought it involved some pain early one with supporting different Python versions in different distros? Maybe with the binary installer?

Of course I could be talking bunk - it's been like that for a loooooong time and my memory was better when I was younger ;-)


Yeah, this is why I asked. I have vague recollections of this discussion too but can't remember the exact reasons. I'm hoping that we've gotten smarter since then and can find a better solution :-)

To be able to install on a machine different from the one we built on. Because our distribution method is to 'python install' into a dist/ subdirectory and then basically blat that directory into / on the target machine. It would probably be smarter to include python scripts to be able to 'python install' out of dist/ -- it'd require us to have python-devel and C compiler installed on the target box though.

Ultimately the argument was that distros should install in their usual place because they *know* what python version they ship, but that since we didn't we'd just install in /usr/lib/python because that required least thought for maximum coverage. :-)

 -- Keir


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