OILS / pyext / setup_line_input.py View on Github | oilshell.org

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