Source

tokyotable / setup.py

Full commit
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext

bindings = Extension("tokyotable._core",
    ["src/tokyotable.pyx"],
    include_dirs = ['/usr/include', '/usr/local/include'],
    library_dirs = ['/usr/lib', '/usr/local/lib'],
    libraries = ['tokyocabinet', 'tokyotyrant', 'z', 'bz2', 'pthread', 'm', 'c']
)

setup(
    cmdclass = {'build_ext': build_ext},
    ext_modules = [bindings],
    packages = ['tokyotable']
)