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

[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.
Signed-off-by: Adam Heath <doogie@xxxxxxxxxxxxx>
 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 @@
        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)"
        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



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