Files
xen/tools/python/setup.py
T
mjw@wray-m-3.hpl.hp.com 14a5b54eb0 bitkeeper revision 1.1327.2.2 (4267a9b3MhPpljnjQ5IbfLdzcW2K3w)
Remove twisted from the HTTP server and replace with a 
threaded server. Add classes to provide tcp and unix servers
using threads instead of twisted. Remove use of twisted from
the consoles, event server and HTTP resources

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-21 13:25:07 +00:00

54 lines
1.6 KiB
Python

from distutils.core import setup, Extension
import os
XEN_ROOT = "../.."
extra_compile_args = [ "-fno-strict-aliasing", "-Wall", "-Werror" ]
include_dirs = [ XEN_ROOT + "/tools/python/xen/lowlevel/xu",
XEN_ROOT + "/tools/libxc",
XEN_ROOT + "/tools/libxutil",
XEN_ROOT + "/tools/xcs",
]
library_dirs = [ XEN_ROOT + "/tools/libxc",
XEN_ROOT + "/tools/libxutil",
]
libraries = [ "xc", "xutil" ]
xc = Extension("xc",
extra_compile_args = extra_compile_args,
include_dirs = include_dirs + [ "xen/lowlevel/xc" ],
library_dirs = library_dirs,
libraries = libraries,
sources = [ "xen/lowlevel/xc/xc.c" ])
xu = Extension("xu",
extra_compile_args = extra_compile_args,
include_dirs = include_dirs + [ "xen/lowlevel/xu" ],
library_dirs = library_dirs,
libraries = libraries,
sources = [ "xen/lowlevel/xu/xu.c" ])
setup(name = 'xen',
version = '2.0',
description = 'Xen',
packages = ['xen',
'xen.lowlevel',
'xen.util',
'xen.xend',
'xen.xend.server',
'xen.sv',
'xen.xm',
'xen.web',
],
ext_package = "xen.lowlevel",
ext_modules = [ xc, xu ]
)
os.chdir('logging')
execfile('setup.py')