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

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