]>
Commit | Line | Data |
---|---|---|
ce6564c2 | 1 | from distutils.core import setup, Extension |
ce6564c2 | 2 | |
b4570f2a | 3 | def 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 | ||
22 | if __name__ == '__main__': | |
23 | main() |