source: trunk/packages/xen-3.1/xen-3.1/tools/pygrub/setup.py @ 34

Last change on this file since 34 was 34, checked in by hartmans, 18 years ago

Add xen and xen-common

File size: 828 bytes
Line 
1from distutils.core import setup, Extension
2from distutils.ccompiler import new_compiler
3import os
4import sys
5
6extra_compile_args  = [ "-fno-strict-aliasing", "-Werror" ]
7
8XEN_ROOT = "../.."
9
10fsimage = 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"])
16
17pkgs = [ 'grub' ]
18
19setup(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      )
Note: See TracBrowser for help on using the repository browser.