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

12 lines, 9 significant
1#!/usr/bin/env python2
2from distutils.core import setup, Extension
3
4module = Extension('fastfunc',
5 sources = ['data_lang/j8_libc.c', 'pyext/fastfunc.c'],
6 include_dirs = ['.'],
7 undef_macros = ['NDEBUG'])
8
9setup(name = 'fastfunc',
10 version = '1.0',
11 description = 'C functions like J8 encoding',
12 ext_modules = [module])