[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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. 

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

Attachment: pgpvHEUSr3fFI.pgp
Description: PGP signature


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.