From: Ian Campbell Date: Wed, 25 Jul 2012 16:39:19 +0000 (+0100) Subject: python: disable libxl bindings X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~8153 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=866133571efffca388e098f9c9c075c8a8177216;p=xen.git python: disable libxl bindings They are rather incomplete and have no users or maintainer. Many of the functions which do exsit raise a NotImplemented exception. Disable them so that users of the 4.2 release aren't confused into trying to use them. This only does the minimal to disable them and makes it easy to locally reenable if anyone wants to hack these into shape in the future. Signed-off-by: Ian Campbell Acked-by: Ian Jackson Committed-by: Ian Campbell --- diff --git a/tools/python/setup.py b/tools/python/setup.py index 1708721d00..42a70fc8d3 100644 --- a/tools/python/setup.py +++ b/tools/python/setup.py @@ -88,7 +88,8 @@ xl = Extension("xl", sources = [ "xen/lowlevel/xl/xl.c", "xen/lowlevel/xl/_pyxl_types.c" ]) plat = os.uname()[0] -modules = [ xc, xs, ptsname, flask, xl ] +modules = [ xc, xs, ptsname, flask ] +#modules.extend([ xl ]) if plat == 'SunOS': modules.extend([ scf, process ]) if plat == 'Linux':