1 | #!/usr/bin/env python2 |
2 | from distutils.core import setup, Extension |
3 | |
4 | module = Extension('libc', |
5 | sources = ['pyext/libc.c'], |
6 | undef_macros = ['NDEBUG']) |
7 | |
8 | setup(name = 'libc', |
9 | version = '1.0', |
10 | description = 'Module for libc functions like fnmatch()', |
11 | ext_modules = [module]) |