ia64/xen-unstable

view tools/python/setup.py @ 9835:cf20dbbf5c2b

This patch adds new python access control management scripts, which
integrate into Xen Management and which support the new access control
labels (labels replace the ssidref numbers at the management user
interface).

Signed-off by: Reiner Sailer <sailer@us.ibm.com>
author smh22@firebug.cl.cam.ac.uk
date Mon Apr 24 10:58:25 2006 +0100 (2006-04-24)
parents f85f52b508c3
children 397cc120ae18
line source
2 from distutils.core import setup, Extension
3 import os
5 XEN_ROOT = "../.."
7 extra_compile_args = [ "-fno-strict-aliasing", "-Wall", "-Werror" ]
10 include_dirs = [ XEN_ROOT + "/tools/libxc",
11 XEN_ROOT + "/tools/xenstore",
12 ]
14 library_dirs = [ XEN_ROOT + "/tools/libxc",
15 XEN_ROOT + "/tools/xenstore",
16 ]
18 libraries = [ "xenctrl", "xenguest", "xenstore" ]
20 xc = Extension("xc",
21 extra_compile_args = extra_compile_args,
22 include_dirs = include_dirs + [ "xen/lowlevel/xc" ],
23 library_dirs = library_dirs,
24 libraries = libraries,
25 sources = [ "xen/lowlevel/xc/xc.c" ])
27 xs = Extension("xs",
28 extra_compile_args = extra_compile_args,
29 include_dirs = include_dirs + [ "xen/lowlevel/xs" ],
30 library_dirs = library_dirs,
31 libraries = libraries,
32 sources = [ "xen/lowlevel/xs/xs.c" ])
34 acm = Extension("acm",
35 extra_compile_args = extra_compile_args,
36 include_dirs = include_dirs + [ "xen/lowlevel/acm" ],
37 library_dirs = library_dirs,
38 libraries = libraries,
39 sources = [ "xen/lowlevel/acm/acm.c" ])
41 setup(name = 'xen',
42 version = '3.0',
43 description = 'Xen',
44 packages = ['xen',
45 'xen.lowlevel',
46 'xen.util',
47 'xen.xend',
48 'xen.xend.server',
49 'xen.xend.xenstore',
50 'xen.xm',
51 'xen.web',
52 'xen.sv',
54 'xen.xend.tests',
55 'xen.xend.server.tests',
56 'xen.xend.xenstore.tests',
57 'xen.xm.tests'
58 ],
59 ext_package = "xen.lowlevel",
60 ext_modules = [ xc, xs, acm ]
61 )
63 os.chdir('logging')
64 execfile('setup.py')