Build a Python modules RPM
[util-vserver.git] / python / setup.py
1 from distutils.core import setup, Extension
2
3 # XXX - need a way to share crap with the Makefile
4 setup(name = "util-vserver",
5       version = "0.1",
6       description = "Python modules for vserver operations",
7       author = "Steve Muir",
8       author_email = "smuir@cs.princeton.edu",
9       py_modules = ["vserver"],
10       ext_modules = [Extension("vserverimpl",
11                                ["vserverimpl.c"],
12                                include_dirs = ["..", "../lib"],
13                                library_dirs = ["../lib"],
14                                libraries = ["vserver"])])