1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
#!/usr/bin/python
from distutils.core import setup, Extension
main = Extension( 'hunspell',
define_macros = [('_LINUX',None)],
libraries = ['hunspell'],
include_dirs = ['/usr/include/hunspell'],
sources = ['hunspell.c'],
extra_compile_args = ['-Wall'])
setup( name = "hunspell",
version = "0.1",
description = "Module for the Hunspell spellchecker engine",
author="Sayamindu Dasgupta",
author_email="sayamindu@gmail.com",
url="http://code.google.com/p/pyhunspell",
ext_modules = [main])
|