| 1 | #!/usr/bin/env python2 | 
| 2 | from distutils.core import setup, Extension | 
| 3 | |
| 4 | module = Extension('fanos', | 
| 5 | sources = ['cpp/fanos_shared.c', 'pyext/fanos.c'], | 
| 6 | include_dirs = ['.'], | 
| 7 | undef_macros = ['NDEBUG']) | 
| 8 | |
| 9 | setup(name = 'fanos', | 
| 10 | version = '1.0', | 
| 11 | description = 'FANOS: File descriptors and Netstrings Over Sockets', | 
| 12 | ext_modules = [module]) |