ia64/xen-unstable

view tools/python/setup.py @ 6385:f34e732ed4bf

Xenstore testsuite robustness: save output rather than rerun on failure.
"make check" reruns a test which fails with more verbosity. If the test
fails intermittently, that doesn't work well: save the output and simply
dump it if the test fails.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Tue Aug 23 19:58:59 2005 +0000 (2005-08-23)
parents 522bc50588ed
children 6e899a3840b2 2f20c2fce2c5 cc5f88b719d0 fa0754a9f64f
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/python/xen/lowlevel/xu",
11 XEN_ROOT + "/tools/libxc",
12 XEN_ROOT + "/tools/xenstore",
13 XEN_ROOT + "/tools/xcs",
14 ]
16 library_dirs = [ XEN_ROOT + "/tools/libxc",
17 XEN_ROOT + "/tools/xenstore",
18 ]
20 libraries = [ "xc", "xenstore" ]
22 xc = Extension("xc",
23 extra_compile_args = extra_compile_args,
24 include_dirs = include_dirs + [ "xen/lowlevel/xc" ],
25 library_dirs = library_dirs,
26 libraries = libraries,
27 sources = [ "xen/lowlevel/xc/xc.c" ])
29 xu = Extension("xu",
30 extra_compile_args = extra_compile_args,
31 include_dirs = include_dirs + [ "xen/lowlevel/xu" ],
32 library_dirs = library_dirs,
33 libraries = libraries,
34 sources = [ "xen/lowlevel/xu/xu.c" ])
36 xs = Extension("xs",
37 extra_compile_args = extra_compile_args,
38 include_dirs = include_dirs + [ "xen/lowlevel/xs" ],
39 library_dirs = library_dirs,
40 libraries = libraries,
41 sources = [ "xen/lowlevel/xs/xs.c" ])
43 setup(name = 'xen',
44 version = '2.0',
45 description = 'Xen',
46 packages = ['xen',
47 'xen.lowlevel',
48 'xen.util',
49 'xen.xend',
50 'xen.xend.server',
51 'xen.xend.xenstore',
52 'xen.xm',
53 'xen.web',
54 'xen.sv'
55 ],
56 ext_package = "xen.lowlevel",
57 ext_modules = [ xc, xu, xs ]
58 )
60 os.chdir('logging')
61 execfile('setup.py')