1 # Copyright (c) Twisted Matrix Laboratories.
2 # See LICENSE for details.
6 Distutils file for building low-level IOCP bindings from their Pyrex source
10 from distutils.core import setup
11 from distutils.extension import Extension
12 from Cython.Distutils import build_ext
14 setup(name='iocpsupport',
15 ext_modules=[Extension('iocpsupport',
16 ['iocpsupport/iocpsupport.pyx',
17 'iocpsupport/winsock_pointers.c'],
18 libraries = ['ws2_32'],
21 cmdclass = {'build_ext': build_ext},