| 1 | #!/usr/bin/env python2 | 
| 2 | from distutils.core import setup, Extension | 
| 3 | |
| 4 | module = Extension('line_input', | 
| 5 | sources = ['pyext/line_input.c'], | 
| 6 | undef_macros = ['NDEBUG'], | 
| 7 | libraries = ['readline'] | 
| 8 | ) | 
| 9 | |
| 10 | setup(name = 'line_input', | 
| 11 | version = '1.0', | 
| 12 | description = 'Our readline/libedit binding', | 
| 13 | ext_modules = [module]) |