xythian / python-yahoo2

Steps toward a Pyrex-based libyahoo2 binding.

This URL has Read+Write access

python-yahoo2 / setup.py
100644 17 lines (13 sloc) 0.493 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env python
 
from setuptools import setup, Extension
 
yahoo2_pyx_module = Extension('_yahoo2',
                              sources=['_yahoo2.pyx', 'callbacks.c'],
                              include_dirs=['/usr/include/libyahoo2'],
                              libraries=['yahoo2'])
 
setup(name='yahoo2',
      version='0.1',
      author = "Foo",
      description="Play with Python binding for libyahoo2",
      ext_modules=[yahoo2_pyx_module],
      py_modules= ["yahoo2"]
)