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]
pgpbVVKGFYKQr.pgp
Description: PGP signature
|