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