direct-io.hg

view tools/python/setup.py @ 2821:724449a888fe

bitkeeper revision 1.1159.1.332 (41874e954CLIDA2J3phVFD2RnzVTpA)

Clean up public XenLinux header files. Now accessible from userspace as
#include <xen/linux...>
Got rid of the linux-xen-sparse symlink as it's no longer needed.
author kaf24@freefall.cl.cam.ac.uk
date Tue Nov 02 09:08:37 2004 +0000 (2004-11-02)
parents 3f929065a1d1
children a9ac02b7727d
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/libxutil",
13 ]
15 library_dirs = [ XEN_ROOT + "/tools/libxc",
16 XEN_ROOT + "/tools/libxutil",
17 ]
19 libraries = [ "xc", "xutil" ]
21 xc = Extension("xc",
22 extra_compile_args = extra_compile_args,
23 include_dirs = include_dirs + [ "xen/lowlevel/xc" ],
24 library_dirs = library_dirs,
25 libraries = libraries,
26 sources = [ "xen/lowlevel/xc/xc.c" ])
28 xu = Extension("xu",
29 extra_compile_args = extra_compile_args,
30 include_dirs = include_dirs + [ "xen/lowlevel/xu" ],
31 library_dirs = library_dirs,
32 libraries = libraries,
33 sources = [ "xen/lowlevel/xu/xu.c" ])
35 setup(name = 'xen',
36 version = '2.0',
37 description = 'Xen',
38 packages = ['xen',
39 'xen.lowlevel',
40 'xen.util',
41 'xen.xend',
42 'xen.xend.server',
43 'xen.sv',
44 'xen.xm',
45 ],
46 ext_package = "xen.lowlevel",
47 ext_modules = [ xc, xu ]
48 )
50 os.chdir('logging')
51 execfile('setup.py')