sigar/bindings/python/setup.py
2007-09-09 17:12:03 +00:00

18 lines
425 B
Python

#!/usr/bin/env python
from distutils.core import setup, Extension
_sigar = Extension(
"_sigar",
["_sigar.c"],
include_dirs = ['../java/sigar-bin/include'],
extra_compile_args = ['-Wall'],
libraries=['sigar-universal-macosx'],
library_dirs=['../java/sigar-bin/lib'],
extra_link_args=[],
define_macros=[],
undef_macros=[])
setup(name="pysigar", version="0.1",
ext_modules=[_sigar])