debuggers.hg

view tools/pygrub/setup.py @ 21067:b4a1832a916f

Update Xen version to 4.0.0-rc6
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 09 18:18:05 2010 +0000 (2010-03-09)
parents 72579f0cdaf7
children
line source
1 from distutils.core import setup, Extension
2 from distutils.ccompiler import new_compiler
3 import os
4 import sys
6 extra_compile_args = [ "-fno-strict-aliasing", "-Werror" ]
8 XEN_ROOT = "../.."
10 fsimage = Extension("fsimage",
11 extra_compile_args = extra_compile_args,
12 include_dirs = [ XEN_ROOT + "/tools/libfsimage/common/" ],
13 library_dirs = [ XEN_ROOT + "/tools/libfsimage/common/" ],
14 libraries = ["fsimage"],
15 sources = ["src/fsimage/fsimage.c"])
17 pkgs = [ 'grub' ]
19 setup(name='pygrub',
20 version='0.3',
21 description='Boot loader that looks a lot like grub for Xen',
22 author='Jeremy Katz',
23 author_email='katzj@redhat.com',
24 license='GPL',
25 package_dir={'grub': 'src', 'fsimage': 'src'},
26 scripts = ["src/pygrub"],
27 packages=pkgs,
28 ext_modules = [ fsimage ]
29 )