sigar/bindings/python/setup.py
Doug MacEachern bd22abb351 add sigar.py
2007-09-09 17:47:21 +00:00

19 lines
455 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",
py_modules = ['sigar'],
ext_modules=[_sigar])