ia64/xen-unstable

view tools/python/setup.py @ 9372:fcef620a859c

'permitted_clock_jitter' units are nanoseconds not microseconds.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Mar 21 15:10:26 2006 +0100 (2006-03-21)
parents f85f52b508c3
children cf20dbbf5c2b
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 setup(name = 'xen',
35 version = '3.0',
36 description = 'Xen',
37 packages = ['xen',
38 'xen.lowlevel',
39 'xen.util',
40 'xen.xend',
41 'xen.xend.server',
42 'xen.xend.xenstore',
43 'xen.xm',
44 'xen.web',
45 'xen.sv',
47 'xen.xend.tests',
48 'xen.xend.server.tests',
49 'xen.xend.xenstore.tests',
50 'xen.xm.tests'
51 ],
52 ext_package = "xen.lowlevel",
53 ext_modules = [ xc, xs ]
54 )
56 os.chdir('logging')
57 execfile('setup.py')