]> git.ipfire.org Git - people/ms/python-rrdtool.git/blame - setup.py
* Added support for Python 2.7 (other 2.x versions might also work, but its not tested)
[people/ms/python-rrdtool.git] / setup.py
CommitLineData
ce6564c2 1from distutils.core import setup, Extension
ce6564c2 2
b4570f2a 3def main():
225c0910
CJ
4 module = Extension('rrdtool',
5 sources=['rrdtoolmodule.c'],
6 include_dirs = ['/opt/local/include'],
b4570f2a 7 libraries=['rrd'])
ce6564c2 8
b4570f2a
CJ
9 kwargs = dict(
10 name='python-rrdtool',
225c0910
CJ
11 version='0.1.1',
12 description='rrdtool bindings for Python',
b4570f2a
CJ
13 keywords=['rrdtool'],
14 author='Christian Jurk, Hye-Shik Chang',
15 author_email='commx@commx.ws',
16 ext_modules=[module],
17 py_modules=['RRDtool']
18 )
ce6564c2 19
b4570f2a
CJ
20 setup(**kwargs)
21
22if __name__ == '__main__':
23 main()